Interface ByteBufferDecryptor
public interface ByteBufferDecryptor
Byte Buffer Decryptor abstracts Cipher decryption operations
-
Method Summary
Modifier and TypeMethodDescriptionintdecrypt(ByteBuffer inputBuffer, ByteBuffer outputBuffer) Read encrypted input buffer and write decrypted bytes to output buffer
-
Method Details
-
decrypt
Read encrypted input buffer and write decrypted bytes to output buffer- Parameters:
inputBuffer- Encrypted Input Byte BufferoutputBuffer- Decrypted Output Byte Buffer- Returns:
- Number of bytes stored in Output Byte Buffer
- Throws:
GeneralSecurityException- Thrown on decryption failures
-