class X509Encryption.EncryptOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
private java.io.OutputStream |
_bodyOut |
private javax.crypto.Cipher |
_cipher |
private javax.crypto.CipherOutputStream |
_cipherOut |
private Hessian2Output |
_out |
| Constructor and Description |
|---|
EncryptOutputStream(Hessian2Output out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(byte[] buffer,
int offset,
int length) |
void |
write(int ch) |
private Hessian2Output _out
private javax.crypto.Cipher _cipher
private java.io.OutputStream _bodyOut
private javax.crypto.CipherOutputStream _cipherOut
EncryptOutputStream(Hessian2Output out) throws java.io.IOException
java.io.IOExceptionpublic void write(int ch)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOException