- <init>
- flush
To flush, we need to encrypt the data in the buffer and write to the underlying
stream, then do the
- write
Encryption is buffer based. If there is enough room in #inBuffer, then write to
this buffer. If #inB
- checkStream
- encrypt
Do the encryption, input is #inBuffer and output is #outBuffer.
- freeBuffers
Forcibly free the direct buffers.
- getTmpBuf
- updateEncryptor
Update the #encryptor: calculate counter and #padding.
- close
- getWrappedStream