Oracle® Coherence Java API Reference
v3.5.3

E15583-01

com.tangosol.net.security
Class AsymmetricEncryptionFilter.IdentityOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.tangosol.io.WrapperOutputStream
          extended by com.tangosol.net.security.AsymmetricEncryptionFilter.IdentityOutputStream
All Implemented Interfaces:
OutputStreaming, java.io.Closeable, java.io.Flushable
Enclosing class:
AsymmetricEncryptionFilter

public class AsymmetricEncryptionFilter.IdentityOutputStream
extends WrapperOutputStream

Stream which writes an unencrypted identity header followed by an encrypted payload.


Field Summary
protected  java.io.OutputStream m_streamInner
           
 
Fields inherited from class com.tangosol.io.WrapperOutputStream
m_out
 
Constructor Summary
AsymmetricEncryptionFilter.IdentityOutputStream(java.io.OutputStream stream)
          Construct a IdentityOutputStream around the supplied stream.
 
Method Summary
 void setProtocolContext(ProtocolContext context)
          Set the current protocol context.
protected  void writeIdentity()
          Write the local identity to inner stream.
 
Methods inherited from class com.tangosol.io.WrapperOutputStream
close, ensureOutputStream, flush, getOutputStream, setOutputStream, write, write, write
 

Field Detail

m_streamInner

protected java.io.OutputStream m_streamInner
Constructor Detail

AsymmetricEncryptionFilter.IdentityOutputStream

public AsymmetricEncryptionFilter.IdentityOutputStream(java.io.OutputStream stream)
Construct a IdentityOutputStream around the supplied stream.

Parameters:
stream - the stream to wrap
Method Detail

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.


Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.