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) |
abstract byte[] |
recoverKeyData(int encAlgorithm,
int aeadAlgorithm,
byte[] s2kKey,
byte[] iv,
int packetTag,
int keyVersion,
byte[] keyData,
byte[] pubkeyData) |
protected PBESecretKeyDecryptor(char[] passPhrase,
PGPDigestCalculatorProvider calculatorProvider)
public PGPDigestCalculator getChecksumCalculator(int hashAlgorithm) throws PGPException
PGPExceptionpublic byte[] makeKeyFromPassPhrase(int keyAlgorithm,
S2K s2k)
throws PGPException
PGPExceptionpublic abstract byte[] recoverKeyData(int encAlgorithm,
byte[] key,
byte[] iv,
byte[] keyData,
int keyOff,
int keyLen)
throws PGPException
PGPExceptionpublic abstract byte[] recoverKeyData(int encAlgorithm,
int aeadAlgorithm,
byte[] s2kKey,
byte[] iv,
int packetTag,
int keyVersion,
byte[] keyData,
byte[] pubkeyData)
throws PGPException
PGPException