public abstract class PBESecretKeyDecryptor
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
PBESecretKeyDecryptor(char[] passPhrase,
PGPDigestCalculatorProvider calculatorProvider) |
Modifier and Type | Method and 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) |
protected PBESecretKeyDecryptor(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
public PGPDigestCalculator getChecksumCalculator(int hashAlgorithm) throws PGPException
PGPException
public byte[] makeKeyFromPassPhrase(int keyAlgorithm, S2K s2k) throws PGPException
PGPException
public abstract byte[] recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] keyData, int keyOff, int keyLen) throws PGPException
PGPException