class Akenti::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

[more] CertificateRequestGeneratorImpl ()
Construct this object
[more]virtual ~CertificateRequestGeneratorImpl ()
Deletes this object
[more]virtual void setSubject (const DistinguishedName& subject)
Sets the subject of the certificate
[more]virtual void setPublicKey (const PublicKey& subjectKey)
Sets the publicKey associated with the certificate principal
[more]virtual void setVersionNumber (long versionNumber)
Sets the versionNumber
[more]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.
[more]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.

o CertificateRequestGeneratorImpl()
Construct this object

ovirtual ~CertificateRequestGeneratorImpl()
Deletes this object

ovirtual void setSubject(const DistinguishedName& subject) = 0
Sets the subject of the certificate

Parameters:
subject - - the distinguishedName of the principal of the certificate

ovirtual void setPublicKey(const PublicKey& subjectKey) = 0
Sets the publicKey associated with the certificate principal

Parameters:
publicKey - the subject's public key

ovirtual void setVersionNumber(long versionNumber) = 0
Sets the versionNumber

Parameters:
versionNumber - of the software creating this request

ovirtual CertificateRequest generate(const string& algorithm, const PrivateKey& privateKey) = 0
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

ovirtual string paramString() const = 0
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 HTML hierarchy of classes or Java



This page was generated with the help of DOC++.