Interface EncryptionAlgorithmEngine

All Known Subinterfaces:
AESEncryptionAlgorithmEngine
All Known Implementing Classes:
AESEngineNoPadding, ARC4Engine, ConcatenatingAESEngine

interface EncryptionAlgorithmEngine
Encryption engine to use in general encryption algorithms as defined in Chapter 7.6.2 of the PDF 32000-1
  • Method Details

    • encryptStream

      InputStream encryptStream(InputStream data, byte[] key)
      Parameters:
      data - data to encrypt
      key -
      Returns:
      a stream where encrypted data can be read from
      Throws:
      EncryptionException
    • encryptBytes

      byte[] encryptBytes(byte[] data, byte[] key)
      Parameters:
      data - data to encrypt
      key -
      Returns:
      the encrypted data
      Throws:
      EncryptionException