Skip navigation links
com.tangosol.net.security
Class AsymmetricEncryptionFilter.IdentityOutputStream
java.lang.Object
java.io.OutputStream
com.tangosol.io.WrapperOutputStream
com.tangosol.net.security.AsymmetricEncryptionFilter.IdentityOutputStream
- All Implemented Interfaces:
- OutputStreaming, Closeable, Flushable
- Enclosing class:
- AsymmetricEncryptionFilter
-
public class AsymmetricEncryptionFilter.IdentityOutputStream
- extends WrapperOutputStream
Stream which writes an unencrypted identity header followed by an encrypted payload.
Method Summary |
void |
setProtocolContext(ProtocolContext context)
Set the current protocol context. |
protected void |
writeIdentity()
Write the local identity to inner stream. |
m_streamInner
protected OutputStream m_streamInner
AsymmetricEncryptionFilter.IdentityOutputStream
public AsymmetricEncryptionFilter.IdentityOutputStream(OutputStream stream)
- Construct a IdentityOutputStream around the supplied stream.
- Parameters:
stream
- the stream to wrap
setProtocolContext
public void setProtocolContext(ProtocolContext context)
- Set the current protocol context.
-
- Parameters:
context
- the current context of the protocol.
writeIdentity
protected void writeIdentity()
- Write the local identity to inner stream.
Skip navigation links
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.