Public Member Functions | |
X509DistinguishedName | getSigName () |
X509Extensions | getExtensions () |
String | getPasswordInfoMessage () |
Vector< String > | getInvalidityMessages () |
Package Functions | |
boolean | isValid () |
CertPanel
must implement this interface and use the setCertCreationValidator to set themselves as the validator for the certificate generation. boolean mixconfig.ICertCreationValidator.isValid | ( | ) | [package] |
Indicates whether the prerequisites for generating the certificate are met. For example, if a certificate for the own Mix is to be created, the Mix id must be valid as it is incorporated in the certificate's subject name.
true
if the prerequisites are met, false
otherwise Implemented in mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator, mixconfig.panels.OwnCertificatesPanel.OperatorCertCreationValidator, mixconfig.tools.dataretention.DataRetentionEncryptionCertCreationValidator, and mixconfig.tools.EncryptedLogTool.LogCertCreationValidator.
Referenced by mixconfig.panels.OwnCertificatesPanel.check(), and mixconfig.panels.CertPanel.generateNewCert().
X509DistinguishedName mixconfig.ICertCreationValidator.getSigName | ( | ) |
Returns the signer name for the new certificate.
Implemented in mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator, mixconfig.panels.OwnCertificatesPanel.OperatorCertCreationValidator, mixconfig.tools.dataretention.DataRetentionEncryptionCertCreationValidator, and mixconfig.tools.EncryptedLogTool.LogCertCreationValidator.
Referenced by mixconfig.panels.CertPanel.generateNewCert().
X509Extensions mixconfig.ICertCreationValidator.getExtensions | ( | ) |
Returns the X509 extensions that are added to the new certificate.
Implemented in mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator, mixconfig.panels.OwnCertificatesPanel.OperatorCertCreationValidator, mixconfig.tools.dataretention.DataRetentionEncryptionCertCreationValidator, and mixconfig.tools.EncryptedLogTool.LogCertCreationValidator.
Referenced by mixconfig.panels.CertPanel.generateNewCert().
String mixconfig.ICertCreationValidator.getPasswordInfoMessage | ( | ) |
Returns a message to be shown in the "new password" dialog for the PKCS12 certificate.
Implemented in mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator, mixconfig.panels.OwnCertificatesPanel.OperatorCertCreationValidator, mixconfig.tools.dataretention.DataRetentionEncryptionCertCreationValidator, and mixconfig.tools.EncryptedLogTool.LogCertCreationValidator.
Referenced by mixconfig.panels.CertPanel.changePasswd(), and mixconfig.panels.CertPanel.generateNewCert().
Vector<String> mixconfig.ICertCreationValidator.getInvalidityMessages | ( | ) |
Returns a message to be shown when the prerequisites of generating a new certificate are not met.
Implemented in mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator, mixconfig.panels.OwnCertificatesPanel.OperatorCertCreationValidator, mixconfig.tools.dataretention.DataRetentionEncryptionCertCreationValidator, and mixconfig.tools.EncryptedLogTool.LogCertCreationValidator.
Referenced by mixconfig.panels.OwnCertificatesPanel.check(), and mixconfig.panels.CertPanel.generateNewCert().