|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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 java.security.cert.Certificate |
m_certificate |
protected ProtocolContext |
m_context |
protected java.io.InputStream |
m_streamInner |
| Constructor Summary | |
|---|---|
AsymmetricEncryptionFilter.IdentityInputStream(java.io.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 java.security.cert.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 java.io.InputStream m_streamInner
protected ProtocolContext m_context
protected java.security.cert.Certificate m_certificate
| Constructor Detail |
|---|
public AsymmetricEncryptionFilter.IdentityInputStream(java.io.InputStream stream)
stream - the stream to wrap| Method Detail |
|---|
public void setProtocolContext(ProtocolContext context)
context - the current context of the protocol.protected java.security.cert.Certificate readIdentity()
public void close()
throws java.io.IOException
close in interface InputStreamingclose in interface java.io.Closeableclose in class WrapperInputStreamjava.io.IOException - if an I/O error occurs
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||