Class PBESecretKeyDecryptor
- java.lang.Object
-
- org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
-
public abstract class PBESecretKeyDecryptor extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PBESecretKeyDecryptor(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PGPDigestCalculator
getChecksumCalculator(int hashAlgorithm)
byte[]
makeKeyFromPassPhrase(int keyAlgorithm, S2K s2k)
abstract byte[]
recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] keyData, int keyOff, int keyLen)
-
-
-
Constructor Detail
-
PBESecretKeyDecryptor
protected PBESecretKeyDecryptor(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
-
-
Method Detail
-
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
-
-