class CertificateRequestGeneratorImpl

This abstract class groups all services of setting up a CertificateRequestGenerator which includes setting subject publicKey, versionNumber, generating CertificateRequest with specified algorithm and privateKey, displaying the Certificate in string

Inheritance:


Public Methods

CertificateRequestGeneratorImpl ()
Construct this object
virtual ~CertificateRequestGeneratorImpl ()
Deletes this object
virtual void setSubject (const DistinguishedName& subject)
Sets the subject of the certificate
virtual void setPublicKey (const PublicKey& subjectKey)
Sets the publicKey associated with the certificate principal
virtual void setVersionNumber (long versionNumber)
Sets the versionNumber
virtual CertificateRequest generate (const string& algorithm, const PrivateKey& privateKey)
Generates CertificateRequest using specified algorithm such as "RSA-SHA1" or "DSA-MD5" and signs the request with the privateKey which must correspond to the publicKey of the subjet that is included in the request
virtual string paramString () const
Display the CertificateRequest in string

Documentation

This abstract class groups all services of setting up a CertificateRequestGenerator which includes setting subject publicKey, versionNumber, generating CertificateRequest with specified algorithm and privateKey, displaying the Certificate in string. A CertficateRequest is a constant object once it has been generated and signed. A CertificateRequest is generally a specification of an X.509 certificate that will be sent to a CA for it to sign.
CertificateRequestGeneratorImpl()
Construct this object

virtual ~CertificateRequestGeneratorImpl()
Deletes this object

virtual void setSubject(const DistinguishedName& subject)
Sets the subject of the certificate
Parameters:
subject - - the distinguishedName of the principal of the certificate

virtual void setPublicKey(const PublicKey& subjectKey)
Sets the publicKey associated with the certificate principal
Parameters:
publicKey - the subject's public key

virtual void setVersionNumber(long versionNumber)
Sets the versionNumber
Parameters:
versionNumber - of the software creating this request

virtual CertificateRequest generate(const string& algorithm, const PrivateKey& privateKey)
Generates CertificateRequest using specified algorithm such as "RSA-SHA1" or "DSA-MD5" and signs the request with the privateKey which must correspond to the publicKey of the subjet that is included in the request.
Parameters:
algorithm - hash and signature algorthim to be used in signing the request.
privateKey - key of the requestor

virtual string paramString() const
Display the CertificateRequest in string


Direct child classes:
OpenSSLCertificateRequestGeneratorImpl
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
DistinguishedName
PublicKey
PrivateKey
CertificateRequest

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de