class OpenSSLCertificateRequestGeneratorImpl

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

Inheritance:


Public Methods

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


Inherited from CertificateRequestGeneratorImpl:


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.

o OpenSSLCertificateRequestGeneratorImpl()
Construct this object

o ~OpenSSLCertificateRequestGeneratorImpl()
Deletes this object

ovoid setSubject(const DistinguishedName& subject)
Sets param subject

Parameters:
subject - DN of the subject of the certificate that is to be requested

ovoid 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.

ovoid setVersionNumber(long versionNumber)
Sets param versionNumber

Parameters:
versionNumber -

oCertificateRequest 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.

ovirtual 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:
DistinguishedName
PublicKey
PrivateKey
CertificateRequest

Alphabetic index HTML hierarchy of classes or Java



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