Class PGPSecretKeyDecryptorWithAAD

java.lang.Object
org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
org.bouncycastle.openpgp.operator.PGPSecretKeyDecryptorWithAAD

public abstract class PGPSecretKeyDecryptorWithAAD extends PBESecretKeyDecryptor
  • Constructor Details

    • PGPSecretKeyDecryptorWithAAD

      public PGPSecretKeyDecryptorWithAAD(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
  • Method Details

    • recoverKeyData

      public byte[] recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] keyData, int keyOff, int keyLen) throws PGPException
      Specified by:
      recoverKeyData in class PBESecretKeyDecryptor
      Throws:
      PGPException
    • recoverKeyData

      public abstract byte[] recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] aad, byte[] keyData, int keyOff, int keyLen) throws PGPException
      Throws:
      PGPException