class OpenSSLCertificateGeneratorImpl |
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 DistinguishedName& subject) Sets the subject of this certificate. |
![]() | setSubjectPublicKey (const PublicKey& subjectKey) Sets the public key of this certificate. |
![]() | setIssuer (const DistinguishedName& 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 HTML hierarchy of classes or Java