Package org.bouncycastle.pkcs.jcajce
Class JcePKCSPBEInputDecryptorProviderBuilder
- java.lang.Object
-
- org.bouncycastle.pkcs.jcajce.JcePKCSPBEInputDecryptorProviderBuilder
-
public class JcePKCSPBEInputDecryptorProviderBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JcePKCSPBEInputDecryptorProviderBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.operator.InputDecryptorProvider
build(char[] password)
JcePKCSPBEInputDecryptorProviderBuilder
setKeySizeProvider(org.bouncycastle.operator.SecretKeySizeProvider keySizeProvider)
Set the lookup provider of AlgorithmIdentifier returning key_size_in_bits used to handle PKCS5 decryption.JcePKCSPBEInputDecryptorProviderBuilder
setProvider(java.lang.String providerName)
JcePKCSPBEInputDecryptorProviderBuilder
setProvider(java.security.Provider provider)
JcePKCSPBEInputDecryptorProviderBuilder
setTryWrongPKCS12Zero(boolean tryWrong)
-
-
-
Method Detail
-
setProvider
public JcePKCSPBEInputDecryptorProviderBuilder setProvider(java.security.Provider provider)
-
setProvider
public JcePKCSPBEInputDecryptorProviderBuilder setProvider(java.lang.String providerName)
-
setTryWrongPKCS12Zero
public JcePKCSPBEInputDecryptorProviderBuilder setTryWrongPKCS12Zero(boolean tryWrong)
-
setKeySizeProvider
public JcePKCSPBEInputDecryptorProviderBuilder setKeySizeProvider(org.bouncycastle.operator.SecretKeySizeProvider keySizeProvider)
Set the lookup provider of AlgorithmIdentifier returning key_size_in_bits used to handle PKCS5 decryption.- Parameters:
keySizeProvider
- a provider of integer secret key sizes.- Returns:
- the current builder.
-
build
public org.bouncycastle.operator.InputDecryptorProvider build(char[] password)
-
-