|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.io.InputStream
com.tangosol.io.WrapperInputStream
com.tangosol.net.security.AsymmetricEncryptionFilter.IdentityInputStream
public class AsymmetricEncryptionFilter.IdentityInputStream
Stream which reads an unencrypted identity header followed by an encrypted payload.
Field Summary | |
---|---|
protected Certificate |
m_certificate |
protected ProtocolContext |
m_context |
protected InputStream |
m_streamInner |
Constructor Summary | |
---|---|
AsymmetricEncryptionFilter.IdentityInputStream(InputStream stream) Construct a IdentityInputStream around the supplied stream. |
Method Summary | |
---|---|
void |
close() Close the InputStream and release any system resources associated with it. |
protected Certificate |
readIdentity() Read the identity from the inner stream and return it as a Certificate. |
void |
setProtocolContext(ProtocolContext context) Set the current protocol context. |
Methods inherited from class com.tangosol.io.WrapperInputStream |
---|
available, ensureInputStream, getInputStream, mark, markSupported, read, read, read, reset, setInputStream, skip |
Field Detail |
---|
protected InputStream m_streamInner
protected ProtocolContext m_context
protected Certificate m_certificate
Constructor Detail |
---|
public AsymmetricEncryptionFilter.IdentityInputStream(InputStream stream)
stream
- the stream to wrapMethod Detail |
---|
public void setProtocolContext(ProtocolContext context)
context
- the current context of the protocol.protected Certificate readIdentity()
public void close() throws IOException
close
in interface InputStreaming
close
in interface Closeable
close
in class WrapperInputStream
IOException
- if an I/O error occurs
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |