namespace Akenti class OpenSSLCertificateRequestGeneratorImpl : public CertificateRequestGeneratorImpl

This class is a subclass of CertificateRequestGeneratorImpl, and is used to create an OpenSSLCertificateRequestImpl and the CertfificateRequest that points to it

Inheritance:


Public Methods

OpenSSLCertificateRequestGeneratorImpl ()
Construct this object
~OpenSSLCertificateRequestGeneratorImpl ()
Deletes this object
void setSubject (const Principal& subject)
Sets param subject
void setPublicKey (const PublicKey& subjectKey)
Sets param publicKey
void setVersionNumber (long versionNumber)
Sets param versionNumber
CertificateRequest generate (const string& algorithm, const PrivateKey& privateKey)
Generates CertificateRequest using specified algorithm such as "RSA-SHA1" or "DSA-MD5" and privateKey
virtual string paramString () const
Display the CertificateRequest in string

Documentation

This class is a subclass of CertificateRequestGeneratorImpl, and is used to create an OpenSSLCertificateRequestImpl and the CertfificateRequest that points to it. A certficateRequest holds all the information needed to create an X509 identity certificate. It can be sent to a CA who generates and signs the identity certficate. It holds the subject name and publicKey and the certificate versionNumber. It generates and signs the OpenSSLCertificateRequestImpl with a specified algorithm and privateKey. It will display the Certificate as a string. Once a CertificateRequestImpl has been generated and signed it can no longer be modified.
OpenSSLCertificateRequestGeneratorImpl()
Construct this object

~OpenSSLCertificateRequestGeneratorImpl()
Deletes this object

void setSubject(const Principal& subject)
Sets param subject
Parameters:
subject - DN of the subject of the certificate that is to be requested

void setPublicKey(const PublicKey& subjectKey)
Sets param publicKey
Parameters:
publicKey - the public key of the subject of the certificate. The publicKey should refer to an OpenSSLPublicKeyImpl.

void setVersionNumber(long versionNumber)
Sets param versionNumber
Parameters:
versionNumber -

CertificateRequest generate(const string& algorithm, const PrivateKey& privateKey)
Generates CertificateRequest using specified algorithm such as "RSA-SHA1" or "DSA-MD5" and privateKey
Parameters:
algorithm - Signature algorithm for signing the request
privateKey - of the requestor. Should contain a reference to an OpenSSLPrivateKeyImpl.

virtual string paramString() const
Display the CertificateRequest in string


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
Principal
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