Bouncy Castle Cryptography Library 1.79

org.bouncycastle.openpgp.operator
Class PGPSecretKeyDecryptorWithAAD

java.lang.Object
  |
  +--org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
        |
        +--org.bouncycastle.openpgp.operator.PGPSecretKeyDecryptorWithAAD

public abstract class PGPSecretKeyDecryptorWithAAD
extends PBESecretKeyDecryptor


Constructor Summary
PGPSecretKeyDecryptorWithAAD(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Overrides:
recoverKeyData in class PBESecretKeyDecryptor

recoverKeyData

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

Bouncy Castle Cryptography Library 1.79