Bouncy Castle Cryptography Library 1.81

org.bouncycastle.openpgp.operator.jcajce
Class JceSessionKeyDataDecryptorFactoryBuilder

java.lang.Object
  extended byorg.bouncycastle.openpgp.operator.jcajce.JceSessionKeyDataDecryptorFactoryBuilder

public class JceSessionKeyDataDecryptorFactoryBuilder
extends java.lang.Object


Constructor Summary
JceSessionKeyDataDecryptorFactoryBuilder()
           
 
Method Summary
 SessionKeyDataDecryptorFactory build(PGPSessionKey sessionKey)
           
 JceSessionKeyDataDecryptorFactoryBuilder setProvider(java.security.Provider provider)
          Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.
 JceSessionKeyDataDecryptorFactoryBuilder 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

JceSessionKeyDataDecryptorFactoryBuilder

public JceSessionKeyDataDecryptorFactoryBuilder()
Method Detail

setProvider

public JceSessionKeyDataDecryptorFactoryBuilder 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 JceSessionKeyDataDecryptorFactoryBuilder 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 SessionKeyDataDecryptorFactory build(PGPSessionKey sessionKey)

Bouncy Castle Cryptography Library 1.81