mixconfig.ICertCreationValidator Interface Reference

Inherited by mixconfig.panels.OwnCertificatesPanel.OperatorCertCreationValidator, mixconfig.panels.OwnCertificatesPanel.OwnCertCreationValidator, mixconfig.tools.dataretention.DataRetentionEncryptionCertCreationValidator, and mixconfig.tools.EncryptedLogTool.LogCertCreationValidator.

List of all members.

Public Member Functions

X509DistinguishedName getSigName ()
X509Extensions getExtensions ()
String getPasswordInfoMessage ()
Vector< String > getInvalidityMessages ()

Package Functions

boolean isValid ()


Detailed Description

This interface contains methods that provide information needed for generating new certificates. Classes that use CertPanel must implement this interface and use the setCertCreationValidator to set themselves as the validator for the certificate generation.

Member Function Documentation

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.

Returns:
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 (  ) 

X509Extensions mixconfig.ICertCreationValidator.getExtensions (  ) 

String mixconfig.ICertCreationValidator.getPasswordInfoMessage (  ) 

Vector<String> mixconfig.ICertCreationValidator.getInvalidityMessages (  ) 


The documentation for this interface was generated from the following file:

Generated on Mon Nov 16 23:24:47 2009 for MixConfig by  doxygen 1.5.6