Bouncy Castle Cryptography Library 1.59

org.bouncycastle.pkcs.jcajce
Class JcePKCSPBEInputDecryptorProviderBuilder

java.lang.Object
  |
  +--org.bouncycastle.pkcs.jcajce.JcePKCSPBEInputDecryptorProviderBuilder

public class JcePKCSPBEInputDecryptorProviderBuilder
extends java.lang.Object


Constructor Summary
JcePKCSPBEInputDecryptorProviderBuilder()
           
 
Method Summary
 InputDecryptorProvider build(char[] password)
           
 JcePKCSPBEInputDecryptorProviderBuilder setKeySizeProvider(SecretKeySizeProvider keySizeProvider)
          Set the lookup provider of AlgorithmIdentifier returning key_size_in_bits used to handle PKCS5 decryption.
 JcePKCSPBEInputDecryptorProviderBuilder setProvider(java.security.Provider provider)
           
 JcePKCSPBEInputDecryptorProviderBuilder setProvider(java.lang.String providerName)
           
 JcePKCSPBEInputDecryptorProviderBuilder setTryWrongPKCS12Zero(boolean tryWrong)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcePKCSPBEInputDecryptorProviderBuilder

public JcePKCSPBEInputDecryptorProviderBuilder()
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(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 InputDecryptorProvider build(char[] password)

Bouncy Castle Cryptography Library 1.59