org.bouncycastle.openpgp.operator
Class PBESecretKeyDecryptor
java.lang.Object
org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
public abstract class PBESecretKeyDecryptor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBESecretKeyDecryptor
protected PBESecretKeyDecryptor(char[] passPhrase,
PGPDigestCalculatorProvider calculatorProvider)
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