Class JceETSIKeyWrapper.Builder

java.lang.Object
org.bouncycastle.its.jcajce.JceETSIKeyWrapper.Builder
Enclosing class:
JceETSIKeyWrapper

public static class JceETSIKeyWrapper.Builder extends Object
  • Constructor Details

    • Builder

      public Builder(ECPublicKey recipientKey, byte[] recipientHash)
  • Method Details

    • setProvider

      public JceETSIKeyWrapper.Builder setProvider(Provider provider)
      Sets the JCE provider to source cryptographic primitives from.
      Parameters:
      provider - the JCE provider to use.
      Returns:
      the current builder.
    • setProvider

      public JceETSIKeyWrapper.Builder setProvider(String providerName)
      Sets the JCE provider to source cryptographic primitives from.
      Parameters:
      providerName - the name of the JCE provider to use.
      Returns:
      the current builder.
    • build

      public JceETSIKeyWrapper build()