Class PGPSecretKeyDecryptorWithAAD
java.lang.Object
org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
org.bouncycastle.openpgp.operator.PGPSecretKeyDecryptorWithAAD
-
Constructor Summary
ConstructorDescriptionPGPSecretKeyDecryptorWithAAD
(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider) -
Method Summary
Modifier and TypeMethodDescriptionabstract 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 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 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
-