Class BcAEADUtil.PGPAeadOutputStream

java.lang.Object
java.io.OutputStream
org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Enclosing class:
BcAEADUtil

protected static class BcAEADUtil.PGPAeadOutputStream extends OutputStream
  • Constructor Details

    • PGPAeadOutputStream

      public PGPAeadOutputStream(boolean isV5StyleAEAD, OutputStream out, org.bouncycastle.crypto.modes.AEADBlockCipher c, org.bouncycastle.crypto.params.KeyParameter secretKey, byte[] iv, int encAlgorithm, int aeadAlgorithm, int chunkSize)
      OutputStream for AEAD encryption.
      Parameters:
      isV5StyleAEAD - flavour of AEAD (OpenPGP v5 or v6)
      out - underlying OutputStream
      c - AEAD cipher
      secretKey - secret key
      iv - initialization vector
      encAlgorithm - encryption algorithm
      aeadAlgorithm - aead algorithm
      chunkSize - chunk size of the AEAD encryption
  • Method Details