namespace Akenti class PublicKey
This abstract class provides the methods for getting the information about
a CertificateRequest such as subject, publicKey, versionNumber,
signatureAlgorithm or signature
-
CertificateRequestGeneratorImpl()
-
Construct this object
-
virtual ~CertificateRequestGeneratorImpl()
-
Deletes this object
-
virtual void setSubject(const Principal& 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 provides the methods for getting the information about
a CertificateRequest such as subject, publicKey, versionNumber,
signatureAlgorithm or signature
CertificateRequestGeneratorImpl()
-
Construct this object
virtual ~CertificateRequestGeneratorImpl()
-
Deletes this object
virtual void setSubject(const Principal& 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
- Author:
- Srilekha Mudumbai
Abdelilah Essiari
- Version:
- 1.1 00/05/01
- See Also:
- CertificateRequest
Signature
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