Public Member Functions | |
boolean | isValid () |
X509DistinguishedName | getSigName () |
X509Extensions | getExtensions () |
String | getPasswordInfoMessage () |
Vector< String > | getInvalidityMessages () |
Private Attributes | |
Vector< String > | m_invalidity = new Vector<String>() |
boolean mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator.isValid | ( | ) |
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 Implements mixconfig.ICertCreationValidator.
References mixconfig.panels.OwnCertificatesPanel.checkCertificateField(), mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getValue(), mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator.m_invalidity, mixconfig.panels.OwnCertificatesPanel.MSG_INVALID_POSITION, mixconfig.panels.OwnCertificatesPanel.XMLPATH_LOCATION_CITY, mixconfig.panels.OwnCertificatesPanel.XMLPATH_LOCATION_COUNTRY, mixconfig.panels.OwnCertificatesPanel.XMLPATH_LOCATION_LATITUDE, and mixconfig.panels.OwnCertificatesPanel.XMLPATH_LOCATION_LONGITUDE.
X509DistinguishedName mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator.getSigName | ( | ) |
Returns the signer name for the new certificate.
Implements mixconfig.ICertCreationValidator.
References mixconfig.panels.OwnCertificatesPanel.m_cboxCountry, mixconfig.panels.OwnCertificatesPanel.m_txtCity, mixconfig.panels.OwnCertificatesPanel.m_txtMixName, and mixconfig.panels.OwnCertificatesPanel.m_txtState.
X509Extensions mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator.getExtensions | ( | ) |
Returns the X509 extensions that are added to the new certificate.
Implements mixconfig.ICertCreationValidator.
References mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getValue(), mixconfig.panels.OwnCertificatesPanel.XMLPATH_LOCATION_LATITUDE, and mixconfig.panels.OwnCertificatesPanel.XMLPATH_LOCATION_LONGITUDE.
String mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator.getPasswordInfoMessage | ( | ) |
Returns a message to be shown in the "new password" dialog for the PKCS12 certificate.
Implements mixconfig.ICertCreationValidator.
Vector<String> mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator.getInvalidityMessages | ( | ) |
Returns a message to be shown when the prerequisites of generating a new certificate are not met.
Implements mixconfig.ICertCreationValidator.
References mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator.m_invalidity.
Vector<String> mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator.m_invalidity = new Vector<String>() [private] |