Class JcePBEProtectionRemoverFactory
- java.lang.Object
-
- org.bouncycastle.openpgp.operator.jcajce.JcePBEProtectionRemoverFactory
-
- All Implemented Interfaces:
PBEProtectionRemoverFactory
public class JcePBEProtectionRemoverFactory extends java.lang.Object implements PBEProtectionRemoverFactory
-
-
Constructor Summary
Constructors Constructor Description JcePBEProtectionRemoverFactory(char[] passPhrase)
JcePBEProtectionRemoverFactory(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PBESecretKeyDecryptor
createDecryptor(java.lang.String protection)
JcePBEProtectionRemoverFactory
setProvider(java.lang.String providerName)
JcePBEProtectionRemoverFactory
setProvider(java.security.Provider provider)
-
-
-
Constructor Detail
-
JcePBEProtectionRemoverFactory
public JcePBEProtectionRemoverFactory(char[] passPhrase)
-
JcePBEProtectionRemoverFactory
public JcePBEProtectionRemoverFactory(char[] passPhrase, PGPDigestCalculatorProvider calculatorProvider)
-
-
Method Detail
-
setProvider
public JcePBEProtectionRemoverFactory setProvider(java.security.Provider provider)
-
setProvider
public JcePBEProtectionRemoverFactory setProvider(java.lang.String providerName)
-
createDecryptor
public PBESecretKeyDecryptor createDecryptor(java.lang.String protection) throws PGPException
- Specified by:
createDecryptor
in interfacePBEProtectionRemoverFactory
- Throws:
PGPException
-
-