Class CertificateCreateStartParams.Builder

java.lang.Object
de.xima.fc.certificate.gui.create.CertificateCreateStartParams.Builder
Enclosing class:
CertificateCreateStartParams

public static class CertificateCreateStartParams.Builder extends Object
Since:
8.5.0
Author:
Norman Lorenz
  • Method Details

    • keyStoreScope

      public CertificateCreateStartParams.Builder keyStoreScope(KeyStoreScope keyStoreScope)
      The keystore scope in which the certificate should be created.
      Returns:
      this.
    • createResultCallback

      public CertificateCreateStartParams.Builder createResultCallback(Consumer<Boolean> createResultCallback)
      A callback that will be invoked when the certificate creation process is completed. The Boolean parameter indicates whether the creation was successful.
      Returns:
      this.
    • keyStoreSelectionDisabled

      public CertificateCreateStartParams.Builder keyStoreSelectionDisabled(boolean keyStoreSelectionDisabled)
      Indicates whether the user should be allowed to select a different keystore during the creation process. If true, the keystore selection will be disabled and the creation will proceed with the default or provided keystore. If false, the user will be able to choose from available keystores.
      Returns:
      this.
    • issuer

      The distinguished name of the issuer for the certificate to be created. This will be prefilled in the creation dialog. If null, no prefill will be done and an issuer must be selected by the user.
      Returns:
      this.
    • emailAddressOptions

      public CertificateCreateStartParams.Builder emailAddressOptions(Set<String> emailAddressOptions)
      A set of email addresses that can be used as options for the email address field in the certificate creation dialog. This can help users by providing their email addresses as selectable options. If null or an empty set, no suggestions will be provided.
      Returns:
      this.
    • build

    • toString

      public String toString()
      Overrides:
      toString in class Object