Class CertificateCreateStartParams.Builder
java.lang.Object
de.xima.fc.certificate.gui.create.CertificateCreateStartParams.Builder
- Enclosing class:
CertificateCreateStartParams
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createResultCallback(Consumer<Boolean> createResultCallback) A callback that will be invoked when the certificate creation process is completed.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.issuer(X501DistinguishedName issuer) The distinguished name of the issuer for the certificate to be created.keyStoreScope(KeyStoreScope keyStoreScope) The keystore scope in which the certificate should be created.keyStoreSelectionDisabled(boolean keyStoreSelectionDisabled) Indicates whether the user should be allowed to select a different keystore during the creation process.toString()
-
Method Details
-
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. Iftrue, the keystore selection will be disabled and the creation will proceed with the default or provided keystore. Iffalse, 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. Ifnull, no prefill will be done and an issuer must be selected by the user.- Returns:
this.
-
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. Ifnullor an empty set, no suggestions will be provided.- Returns:
this.
-
build
-
toString
-