QCA::CAContext
QCA::CAContext Class Referenceabstract
#include <QtCrypto>
Inheritance diagram for QCA::CAContext:

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 |
Additional Inherited Members | |
![]() | |
BasicContext (const BasicContext &from) | |
BasicContext (Provider *parent, const QString &type) | |
Detailed Description
X.509 certificate authority provider
- Note
- This class is part of the provider plugin interface and should not be used directly by applications. You probably want CertificateAuthority instead.
Definition at line 1602 of file qcaprovider.h.
Constructor & Destructor Documentation
◆ CAContext()
|
inline |
Standard constructor.
- Parameters
-
p the Provider associated with this context
Definition at line 1611 of file qcaprovider.h.
Member Function Documentation
◆ certificate()
|
pure virtual |
Returns a copy of the CA's certificate.
The caller is responsible for deleting it.
◆ createCertificate()
|
pure virtual |
Issue a certificate based on a public key and options, and return the certificate.
The caller is responsible for deleting it.
- Parameters
-
pub the public key of the certificate opts the options to use for generation
◆ createCRL()
|
pure virtual |
◆ setup()
|
pure virtual |
Prepare the object for usage.
This must be called before any CA operations are performed.
- Parameters
-
cert the certificate of the CA priv the private key of the CA
◆ signRequest()
|
pure virtual |
Issue a certificate based on a certificate request, and return the certificate.
The caller is responsible for deleting it.
- Parameters
-
req the certificate request notValidAfter the expiration date
◆ updateCRL()
|
pure virtual |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 03:50:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 03:50:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.