This abstract class provides applications with certificate generation
![]() | CertificateGeneratorImpl () Constructs this object |
![]() | ~CertificateGeneratorImpl () Deletes this object |
![]() | setSubject (const DistinguishedName& subject) Sets the subject of this certificate |
![]() | setSubjectPublicKey (const PublicKey& subjectKey) Sets the Subject's publicKey |
![]() | setIssuer (const DistinguishedName& issuer) Sets the issuer of this certificate |
![]() | setValidity (int days) Sets the validity of this certificate |
![]() | setSerialNumber (long serialNumber) Sets the serial number of this certificate |
![]() | setVersionNumber (long versionNumber) Sets the version number of this certificate |
![]() | generate (const string& algorithm, const PrivateKey& privateKey) Signs the certificate using the signature algorithm specified by algorithm and the guarantor's private key specified by privateKey |
![]() | paramString () const Returns string of items of this certificate for correctness check |
This abstract class provides applications with certificate generation. A certificate is a constant object that can not be changed once it has been created. Certficates are either initialized by reading in the contents from a file, or generated by a certificateGenerator object. The generator allows the various fields of a certificate to be set and when they have all been set, the generate method is called which creates a new certificate.
virtual ~CertificateGeneratorImpl()
virtual void setSubject(const DistinguishedName& subject)
virtual void setSubjectPublicKey(const PublicKey& subjectKey)
virtual void setIssuer(const DistinguishedName& issuer)
virtual void setValidity(int days)
virtual void setSerialNumber(long serialNumber)
virtual void setVersionNumber(long versionNumber)
virtual Certificate generate(const string& algorithm, const PrivateKey& privateKey)
privateKey - PrivateKey the private key of the guarantor
virtual string paramString() const
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