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, com.tangosol.net.internal.ProtocolAwareStream, java.io.Closeable, java.io.Flushable
- Enclosing class:
- AsymmetricEncryptionFilter
-
public class AsymmetricEncryptionFilter.IdentityOutputStream
- extends WrapperOutputStream
- implements com.tangosol.net.internal.ProtocolAwareStream
Stream which writes an unencrypted identity header followed by an encrypted payload.
Nested classes/interfaces inherited from interface com.tangosol.net.internal.ProtocolAwareStream |
com.tangosol.net.internal.ProtocolAwareStream.ProtocolContext |
Method Summary |
void |
setProtocolContext(com.tangosol.net.internal.ProtocolAwareStream.ProtocolContext context)
Set the current protocol context. |
protected void |
writeIdentity()
Write the local identity to inner stream. |
m_streamInner
protected java.io.OutputStream m_streamInner
AsymmetricEncryptionFilter.IdentityOutputStream
public AsymmetricEncryptionFilter.IdentityOutputStream(java.io.OutputStream stream)
- Construct a IdentityOutputStream around the supplied stream.
- Parameters:
stream
- the stream to wrap
setProtocolContext
public void setProtocolContext(com.tangosol.net.internal.ProtocolAwareStream.ProtocolContext context)
- Set the current protocol context.
-
- Specified by:
setProtocolContext
in interface com.tangosol.net.internal.ProtocolAwareStream
-
- Parameters:
context
- the current context of the protocol.
writeIdentity
protected void writeIdentity()
- Write the local identity to inner stream.
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.