Interface ByteBufferCipherFactory
- All Known Implementing Classes:
StandardByteBufferCipherFactory
public interface ByteBufferCipherFactory
Byte Buffer Cipher Factory provides instances of Byte Buffer Decryptor and Encryptor objects
-
Method Summary
Modifier and TypeMethodDescriptionnewByteBufferDecryptor(CipherKey cipherKey, IvParameterSpec parameterSpec) Create new instance of Byte Buffer Decryptor using provided Key and Initialization VectornewByteBufferEncryptor(CipherKey cipherKey, IvParameterSpec parameterSpec) Create new instance of Byte Buffer Encryptor using provided Key and Initialization Vector
-
Method Details
-
newByteBufferDecryptor
ByteBufferDecryptor newByteBufferDecryptor(CipherKey cipherKey, IvParameterSpec parameterSpec) throws GeneralSecurityException Create new instance of Byte Buffer Decryptor using provided Key and Initialization Vector- Parameters:
cipherKey- Cipher Key requiredparameterSpec- Initialization Vector parameter specification required- Returns:
- Byte Buffer Decryptor
- Throws:
GeneralSecurityException- Thrown on decryptor initialization failures
-
newByteBufferEncryptor
ByteBufferEncryptor newByteBufferEncryptor(CipherKey cipherKey, IvParameterSpec parameterSpec) throws GeneralSecurityException Create new instance of Byte Buffer Encryptor using provided Key and Initialization Vector- Parameters:
cipherKey- Cipher Key requiredparameterSpec- Initialization Vector parameter specification required- Returns:
- Byte Buffer Encryptor
- Throws:
GeneralSecurityException- Thrown on encryptor initialization failures
-