Class JceSessionKeyDataDecryptorFactoryBuilder

java.lang.Object
org.bouncycastle.openpgp.operator.jcajce.JceSessionKeyDataDecryptorFactoryBuilder

public class JceSessionKeyDataDecryptorFactoryBuilder extends Object
  • Constructor Details

    • JceSessionKeyDataDecryptorFactoryBuilder

      public JceSessionKeyDataDecryptorFactoryBuilder()
  • Method Details

    • setProvider

      public JceSessionKeyDataDecryptorFactoryBuilder setProvider(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(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)