Bouncy Castle Cryptography Library 1.47

org.bouncycastle.openpgp.operator.jcajce
Class JcePBEDataDecryptorFactoryBuilder

java.lang.Object
  extended by org.bouncycastle.openpgp.operator.jcajce.JcePBEDataDecryptorFactoryBuilder

public class JcePBEDataDecryptorFactoryBuilder
extends java.lang.Object


Constructor Summary
JcePBEDataDecryptorFactoryBuilder(PGPDigestCalculatorProvider calculatorProvider)
          Base constructor.
 
Method Summary
 PBEDataDecryptorFactory build(char[] passPhrase)
           
 JcePBEDataDecryptorFactoryBuilder setProvider(java.security.Provider provider)
          Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.
 JcePBEDataDecryptorFactoryBuilder setProvider(java.lang.String providerName)
          Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcePBEDataDecryptorFactoryBuilder

public JcePBEDataDecryptorFactoryBuilder(PGPDigestCalculatorProvider calculatorProvider)
Base constructor.

Parameters:
calculatorProvider - a digest calculator provider to provide calculators to support the key generation calculation required.
Method Detail

setProvider

public JcePBEDataDecryptorFactoryBuilder setProvider(java.security.Provider provider)
Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.

Parameters:
provider - provider object for cryptographic primitives.
Returns:
the current builder.

setProvider

public JcePBEDataDecryptorFactoryBuilder setProvider(java.lang.String providerName)
Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.

Parameters:
providerName - the name of the provider to reference for cryptographic primitives.
Returns:
the current builder.

build

public PBEDataDecryptorFactory build(char[] passPhrase)

Bouncy Castle Cryptography Library 1.47