Interface ByteBufferCipherFactory

All Known Implementing Classes:
StandardByteBufferCipherFactory

public interface ByteBufferCipherFactory
Byte Buffer Cipher Factory provides instances of Byte Buffer Decryptor and Encryptor objects
  • 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 required
      parameterSpec - 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 required
      parameterSpec - Initialization Vector parameter specification required
      Returns:
      Byte Buffer Encryptor
      Throws:
      GeneralSecurityException - Thrown on encryptor initialization failures