Class CertificateCreateStartParams

java.lang.Object
de.xima.fc.certificate.gui.create.CertificateCreateStartParams
All Implemented Interfaces:
Serializable

public final class CertificateCreateStartParams extends Object implements Serializable
Parameters for starting the creation process of certificates.
Since:
8.5.0
Author:
Norman Lorenz
See Also:
  • Method Details

    • builder

      public static CertificateCreateStartParams.Builder builder()
    • toBuilder

    • getKeyStoreScope

      public KeyStoreScope getKeyStoreScope()
      The keystore scope in which the certificate should be created.
    • getCreateResultCallback

      public Consumer<Boolean> getCreateResultCallback()
      A callback that will be invoked when the certificate creation process is completed. The Boolean parameter indicates whether the creation was successful.
    • isKeyStoreSelectionDisabled

      public boolean isKeyStoreSelectionDisabled()
      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.
    • getIssuer

      public X501DistinguishedName getIssuer()
      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.
    • getEmailAddressOptions

      public Set<String> getEmailAddressOptions()
      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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object