This class is the subclass of CertificateGeneratorImpl,it implements the methods used to initialize and generate a Certificate which contains an OpenSSLX509CertficateImpl
![]() | OpenSSLCertificateGeneratorImpl () Constructs this object |
![]() | ~OpenSSLCertificateGeneratorImpl () Deletes this object |
![]() | setSubject (const Principal& subject) Sets the subject of this certificate |
![]() | setSubjectPublicKey (const PublicKey& subjectKey) Sets the public key of this certificate |
![]() | setIssuer (const Principal& issuer) Sets the issuer of this certificate |
![]() | setValidity (int days) Sets the number of days that the certificate will be valid |
![]() | 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 class is the subclass of CertificateGeneratorImpl,it implements the methods used to initialize and generate a Certificate which contains an OpenSSLX509CertficateImpl. Once a certificate has been generated and signed it can no longer be modified. The methods includes setting the subject, subject's publicKey, issuer, validity, serial number, version number. It generates and signs the Certificate with a specified algorithm and privateKey. Also, it will display the Certificate as a string. The certificate generation is done by calls to the openssl libraries.
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