|
Qt Cryptographic Architecture
|
#include <QtCrypto>

Public Member Functions | |
| CAContext (Provider *p) | |
| virtual CertContext * | certificate () const =0 |
| virtual CertContext * | createCertificate (const PKeyContext &pub, const CertificateOptions &opts) const =0 |
| virtual CRLContext * | createCRL (const QDateTime &nextUpdate) const =0 |
| virtual void | setup (const CertContext &cert, const PKeyContext &priv)=0 |
| virtual CertContext * | signRequest (const CSRContext &req, const QDateTime ¬ValidAfter) const =0 |
| virtual CRLContext * | updateCRL (const CRLContext &crl, const QList< CRLEntry > &entries, const QDateTime &nextUpdate) const =0 |
| Public Member Functions inherited from QCA::Provider::Context | |
| virtual Context * | clone () const =0 |
| Provider * | provider () const |
| bool | sameProvider (const Context *c) const |
| QString | type () const |
Additional Inherited Members | |
| Protected Member Functions inherited from QCA::BasicContext | |
| BasicContext (const BasicContext &from) | |
| BasicContext (Provider *parent, const QString &type) | |
| Protected Member Functions inherited from QCA::Provider::Context | |
| Context (const Context &from) | |
| Context (Provider *parent, const QString &type) | |
X.509 certificate authority provider.
|
inline |
Standard constructor.
| p | the Provider associated with this context |
References QCA::BasicContext::BasicContext().
|
pure virtual |
Prepare the object for usage.
This must be called before any CA operations are performed.
| cert | the certificate of the CA |
| priv | the private key of the CA |
|
pure virtual |
Returns a copy of the CA's certificate.
The caller is responsible for deleting it.
|
pure virtual |
Issue a certificate based on a certificate request, and return the certificate.
The caller is responsible for deleting it.
| req | the certificate request |
| notValidAfter | the expiration date |
|
pure virtual |
Issue a certificate based on a public key and options, and return the certificate.
The caller is responsible for deleting it.
| pub | the public key of the certificate |
| opts | the options to use for generation |
|
pure virtual |
|
pure virtual |