Top Fields Constructors Methods
org.bouncycastle.openpgp.operator.jcajce

public Class JcePBEProtectionRemoverFactory

extends Object
implements PBEProtectionRemoverFactory
Class Inheritance
All Implemented Interfaces
org.bouncycastle.openpgp.operator.PBEProtectionRemoverFactory
Imports
java.security.InvalidAlgorithmParameterException, .InvalidKeyException, .Provider, javax.crypto.BadPaddingException, .Cipher, .IllegalBlockSizeException, javax.crypto.spec.IvParameterSpec, org.bouncycastle.jcajce.spec.AEADParameterSpec, org.bouncycastle.jcajce.util.DefaultJcaJceHelper, .NamedJcaJceHelper, .ProviderJcaJceHelper, org.bouncycastle.openpgp.PGPException, .PGPUtil, org.bouncycastle.openpgp.operator.PBEProtectionRemoverFactory, .PBESecretKeyDecryptor, .PGPDigestCalculatorProvider, .PGPSecretKeyDecryptorWithAAD

Field Summary

Modifier and TypeField and Description
private JceAEADUtil
private PGPDigestCalculatorProvider
private JcaPGPDigestCalculatorProviderBuilder
private OperatorHelper
private final char[]

Constructor Summary

AccessConstructor and Description
public
JcePBEProtectionRemoverFactory(char[] passPhrase)

public
JcePBEProtectionRemoverFactory(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)

Method Summary

Modifier and TypeMethod and Description
public PBESecretKeyDecryptor
public JcePBEProtectionRemoverFactory
public JcePBEProtectionRemoverFactory
setProvider(String providerName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aeadUtilback to summary
private JceAEADUtil aeadUtil
calculatorProviderback to summary
private PGPDigestCalculatorProvider calculatorProvider
calculatorProviderBuilderback to summary
private JcaPGPDigestCalculatorProviderBuilder calculatorProviderBuilder
helperback to summary
private OperatorHelper helper
passPhraseback to summary
private final char[] passPhrase

Constructor Detail

JcePBEProtectionRemoverFactoryback to summary
public JcePBEProtectionRemoverFactory(char[] passPhrase)
JcePBEProtectionRemoverFactoryback to summary
public JcePBEProtectionRemoverFactory(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)

Method Detail

createDecryptorback to summary
public PBESecretKeyDecryptor createDecryptor(String protection) throws PGPException

Implements org.bouncycastle.openpgp.operator.PBEProtectionRemoverFactory.createDecryptor.

setProviderback to summary
public JcePBEProtectionRemoverFactory setProvider(Provider provider)
setProviderback to summary
public JcePBEProtectionRemoverFactory setProvider(String providerName)