Class PBESecretKeyDecryptor

java.lang.Object
org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
Direct Known Subclasses:
PGPSecretKeyDecryptorWithAAD

public abstract class PBESecretKeyDecryptor extends Object
  • Constructor Details

  • Method Details

    • getChecksumCalculator

      public PGPDigestCalculator getChecksumCalculator(int hashAlgorithm) throws PGPException
      Throws:
      PGPException
    • makeKeyFromPassPhrase

      public byte[] makeKeyFromPassPhrase(int keyAlgorithm, S2K s2k) throws PGPException
      Throws:
      PGPException
    • recoverKeyData

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

      public abstract byte[] recoverKeyData(int encAlgorithm, int aeadAlgorithm, byte[] s2kKey, byte[] iv, int packetTag, int keyVersion, byte[] keyData, byte[] pubkeyData) throws PGPException
      Throws:
      PGPException