Class PGPSecretKeyDecryptorWithAAD
- java.lang.Object
-
- org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
-
- org.bouncycastle.openpgp.operator.PGPSecretKeyDecryptorWithAAD
-
public abstract class PGPSecretKeyDecryptorWithAAD extends PBESecretKeyDecryptor
-
-
Constructor Summary
Constructors Constructor Description PGPSecretKeyDecryptorWithAAD(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract byte[]
recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] aad, byte[] keyData, int keyOff, int keyLen)
byte[]
recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] keyData, int keyOff, int keyLen)
-
Methods inherited from class org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
getChecksumCalculator, makeKeyFromPassPhrase, recoverKeyData
-
-
-
-
Constructor Detail
-
PGPSecretKeyDecryptorWithAAD
public PGPSecretKeyDecryptorWithAAD(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
-
-
Method Detail
-
recoverKeyData
public byte[] recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] keyData, int keyOff, int keyLen) throws PGPException
- Specified by:
recoverKeyData
in classPBESecretKeyDecryptor
- 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
-
-