|
Qt Cryptographic Architecture
|
#include <QtCrypto>

Public Member Functions | |
| Certificate | certificate () const |
| CertificateAuthority (const Certificate &cert, const PrivateKey &key, const QString &provider) | |
| CertificateAuthority (const CertificateAuthority &from) | |
| Certificate | createCertificate (const PublicKey &key, const CertificateOptions &opts) const |
| CRL | createCRL (const QDateTime &nextUpdate) const |
| CertificateAuthority & | operator= (const CertificateAuthority &from) |
| Certificate | signRequest (const CertificateRequest &req, const QDateTime ¬ValidAfter) const |
| CRL | updateCRL (const CRL &crl, const QList< CRLEntry > &entries, const QDateTime &nextUpdate) const |
Public Member Functions inherited from QCA::Algorithm | |
| Algorithm (const Algorithm &from) | |
| void | change (Provider::Context *c) |
| void | change (const QString &type, const QString &provider) |
| Provider::Context * | context () |
| const Provider::Context * | context () const |
| Algorithm & | operator= (const Algorithm &from) |
| Provider * | provider () const |
| Provider::Context * | takeContext () |
| QString | type () const |
Additional Inherited Members | |
Protected Member Functions inherited from QCA::Algorithm | |
| Algorithm () | |
| Algorithm (const QString &type, const QString &provider) | |
A Certificate Authority is used to generate Certificates and Certificate Revocation Lists (CRLs).
| QCA::CertificateAuthority::CertificateAuthority | ( | const Certificate & | cert, |
| const PrivateKey & | key, | ||
| const QString & | provider | ||
| ) |
Create a new Certificate Authority.
| cert | the CA certificate |
| key | the private key associated with the CA certificate |
| provider | the provider to use, if a specific provider is required |
| QCA::CertificateAuthority::CertificateAuthority | ( | const CertificateAuthority & | from | ) |
Copy constructor.
| from | the CertificateAuthority to copy from |
| CertificateAuthority& QCA::CertificateAuthority::operator= | ( | const CertificateAuthority & | from | ) |
Standard assignment operator.
| from | the CertificateAuthority to copy from |
| Certificate QCA::CertificateAuthority::certificate | ( | ) | const |
The Certificate belonging to the CertificateAuthority.
This is the Certificate that was passed as an argument to the constructor
| Certificate QCA::CertificateAuthority::signRequest | ( | const CertificateRequest & | req, |
| const QDateTime & | notValidAfter | ||
| ) | const |
Create a new Certificate by signing the provider CertificateRequest.
| req | the CertificateRequest to sign |
| notValidAfter | the last date that the Certificate will be valid |
| Certificate QCA::CertificateAuthority::createCertificate | ( | const PublicKey & | key, |
| const CertificateOptions & | opts | ||
| ) | const |
Create a new Certificate.
| key | the Public Key to use to create the Certificate |
| opts | the options to use for the new Certificate |
| CRL QCA::CertificateAuthority::createCRL | ( | const QDateTime & | nextUpdate | ) | const |
Create a new Certificate Revocation List (CRL)
| nextUpdate | the date that the CRL will be updated |
1.8.13