Public Member Functions | |
CertificateGenerator (X509DistinguishedName a_name, X509Extensions a_extensions, boolean a_bDSA) | |
CertificateGenerator (X509DistinguishedName a_name, X509Extensions a_extensions, boolean a_bDSA, int keysize) | |
PKCS12 | getCertificate () |
void | run () |
Static Public Member Functions | |
static CertificateWorker | createWorker (JAPDialog a_parentDialog, DialogContentPane a_previousContentPane, X509DistinguishedName a_name, X509Extensions a_extensions, boolean a_bDSA, int keysize) |
Private Attributes | |
Validity | m_validity |
X509DistinguishedName | m_name |
X509Extensions | m_extensions |
boolean | m_bDSA |
int | m_nKeySize = 1024 |
PKCS12 | m_cert |
Classes | |
class | CertificateWorker |
Runnable
that starts a new thread to generate a new certificate in the background. mixconfig.tools.CertificateGenerator.CertificateGenerator | ( | X509DistinguishedName | a_name, | |
X509Extensions | a_extensions, | |||
boolean | a_bDSA | |||
) |
Constructor for CertificateGenerator
a_name | The signer name | |
a_extensions | the extensions for the certificate (optional, may be null) | |
a_bDSA | if true, DSA ist used; otherwise an RSA certificate is created |
References mixconfig.tools.CertificateGenerator.m_bDSA, mixconfig.tools.CertificateGenerator.m_extensions, mixconfig.tools.CertificateGenerator.m_name, and mixconfig.tools.CertificateGenerator.m_nKeySize.
Referenced by mixconfig.tools.CertificateGenerator.createWorker().
mixconfig.tools.CertificateGenerator.CertificateGenerator | ( | X509DistinguishedName | a_name, | |
X509Extensions | a_extensions, | |||
boolean | a_bDSA, | |||
int | keysize | |||
) |
Constructor for CertificateGenerator
a_name | The signer name | |
a_extensions | the extensions for the certificate (optional, may be null) | |
a_bDSA | if true, DSA is used; otherwise an RSA certificate is created | |
a_keyize | size of newly generated key in bits |
References mixconfig.tools.CertificateGenerator.m_bDSA, mixconfig.tools.CertificateGenerator.m_extensions, mixconfig.tools.CertificateGenerator.m_name, and mixconfig.tools.CertificateGenerator.m_nKeySize.
PKCS12 mixconfig.tools.CertificateGenerator.getCertificate | ( | ) |
Retrieve the newly generated certificate.
References mixconfig.tools.CertificateGenerator.m_cert.
Referenced by mixconfig.MixConfig.createMixOnCDConfiguration().
void mixconfig.tools.CertificateGenerator.run | ( | ) |
Generates the new certificate. This method is used internally and should not be called directly.
Add the SubjectPublicKeyIdentifier extension to the certificate.
References mixconfig.tools.CertificateGenerator.m_bDSA, mixconfig.tools.CertificateGenerator.m_cert, mixconfig.tools.CertificateGenerator.m_extensions, mixconfig.tools.CertificateGenerator.m_name, mixconfig.tools.CertificateGenerator.m_nKeySize, and mixconfig.tools.CertificateGenerator.m_validity.
Referenced by mixconfig.MixConfig.createMixOnCDConfiguration().
static CertificateWorker mixconfig.tools.CertificateGenerator.createWorker | ( | JAPDialog | a_parentDialog, | |
DialogContentPane | a_previousContentPane, | |||
X509DistinguishedName | a_name, | |||
X509Extensions | a_extensions, | |||
boolean | a_bDSA, | |||
int | keysize | |||
) | [static] |
Validity mixconfig.tools.CertificateGenerator.m_validity [private] |
The the certificate's validity.
Referenced by mixconfig.tools.CertificateGenerator.run().
X509DistinguishedName mixconfig.tools.CertificateGenerator.m_name [private] |
The signer name for the certificate
Referenced by mixconfig.tools.CertificateGenerator.CertificateGenerator(), and mixconfig.tools.CertificateGenerator.run().
X509Extensions mixconfig.tools.CertificateGenerator.m_extensions [private] |
boolean mixconfig.tools.CertificateGenerator.m_bDSA [private] |
int mixconfig.tools.CertificateGenerator.m_nKeySize = 1024 [private] |
PKCS12 mixconfig.tools.CertificateGenerator.m_cert [private] |
The newly generated certificate.
Referenced by mixconfig.tools.CertificateGenerator.getCertificate(), and mixconfig.tools.CertificateGenerator.run().