com.caucho.hessian.security
Class X509Encryption.EncryptOutputStream
java.lang.Object
java.io.OutputStream
com.caucho.hessian.security.X509Encryption.EncryptOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
- Enclosing class:
- X509Encryption
class X509Encryption.EncryptOutputStream
- extends java.io.OutputStream
Method Summary |
void |
close()
|
void |
write(byte[] buffer,
int offset,
int length)
|
void |
write(int ch)
|
Methods inherited from class java.io.OutputStream |
flush, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_out
private Hessian2Output _out
_cipher
private javax.crypto.Cipher _cipher
_bodyOut
private java.io.OutputStream _bodyOut
_cipherOut
private javax.crypto.CipherOutputStream _cipherOut
X509Encryption.EncryptOutputStream
X509Encryption.EncryptOutputStream(Hessian2Output out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int ch)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException
Copyright 2003-2011. All Rights Reserved.