class X509Encryption.EncryptInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
_bodyIn |
private javax.crypto.Cipher |
_cipher |
private javax.crypto.CipherInputStream |
_cipherIn |
private Hessian2Input |
_in |
| Constructor and Description |
|---|
EncryptInputStream(Hessian2Input in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int length) |
private Hessian2Input _in
private javax.crypto.Cipher _cipher
private java.io.InputStream _bodyIn
private javax.crypto.CipherInputStream _cipherIn
EncryptInputStream(Hessian2Input in) throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException