Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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, 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 Class Summary

 

Nested classes/interfaces inherited from interface com.tangosol.net.internal.ProtocolAwareStream
com.tangosol.net.internal.ProtocolAwareStream.ProtocolContext

 

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(com.tangosol.net.internal.ProtocolAwareStream.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(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

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.