Top Fields Constructors Methods
org.bouncycastle.openpgp.operator

public abstract Class PBESecretKeyDecryptor

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.openpgp.operator.PGPSecretKeyDecryptorWithAAD
Imports
org.bouncycastle.bcpg.S2K, org.bouncycastle.openpgp.PGPException

Field Summary

Modifier and TypeField and Description
private PGPDigestCalculatorProvider
private char[]

Constructor Summary

AccessConstructor and Description
protected
PBESecretKeyDecryptor(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)

Method Summary

Modifier and TypeMethod and Description
public PGPDigestCalculator
getChecksumCalculator(int hashAlgorithm)

public byte[]
makeKeyFromPassPhrase(int keyAlgorithm, S2K s2k)

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

calculatorProviderback to summary
private PGPDigestCalculatorProvider calculatorProvider
passPhraseback to summary
private char[] passPhrase

Constructor Detail

PBESecretKeyDecryptorback to summary
protected PBESecretKeyDecryptor(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)

Method Detail

getChecksumCalculatorback to summary
public PGPDigestCalculator getChecksumCalculator(int hashAlgorithm) throws PGPException
makeKeyFromPassPhraseback to summary
public byte[] makeKeyFromPassPhrase(int keyAlgorithm, S2K s2k) throws PGPException
recoverKeyDataback to summary
public abstract byte[] recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] keyData, int keyOff, int keyLen) throws PGPException