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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificateCreateStartParams.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateCreateStartParams.Builderbuilder()booleanequals(Object o)Consumer<Boolean>getCreateResultCallback()A callback that will be invoked when the certificate creation process is completed.Set<String>getEmailAddressOptions()A set of email addresses that can be used as options for the email address field in the certificate creation dialog.X501DistinguishedNamegetIssuer()The distinguished name of the issuer for the certificate to be created.KeyStoreScopegetKeyStoreScope()The keystore scope in which the certificate should be created.inthashCode()booleanisKeyStoreSelectionDisabled()Indicates whether the user should be allowed to select a different keystore during the creation process.CertificateCreateStartParams.BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static CertificateCreateStartParams.Builder builder()
-
toBuilder
public CertificateCreateStartParams.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. 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.
-
getIssuer
public X501DistinguishedName getIssuer()
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.
-
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. Ifnullor an empty set, no suggestions will be provided.
-
-