QCA::CRL
#include <QtCrypto>

Public Member Functions | |
| CRL (const CRL &from) | |
| void | change (CRLContext *c) |
| bool | isNull () const |
| CertificateInfo | issuerInfo () const |
| CertificateInfoOrdered | issuerInfoOrdered () const |
| QByteArray | issuerKeyId () const |
| QDateTime | nextUpdate () const |
| int | number () const |
| bool | operator!= (const CRL &other) const |
| CRL & | operator= (const CRL &from) |
| bool | operator== (const CRL &a) const |
| QList< CRLEntry > | revoked () const |
| SignatureAlgorithm | signatureAlgorithm () const |
| QDateTime | thisUpdate () const |
| QByteArray | toDER () const |
| QString | toPEM () const |
| bool | toPEMFile (const QString &fileName) const |
Public Member Functions inherited from QCA::Algorithm | |
| Algorithm (const Algorithm &from) | |
| void | change (const QString &type, const QString &provider) |
| void | change (Provider::Context *c) |
| Provider::Context * | context () |
| const Provider::Context * | context () const |
| Algorithm & | operator= (const Algorithm &from) |
| Provider * | provider () const |
| Provider::Context * | takeContext () |
| QString | type () const |
Static Public Member Functions | |
| static CRL | fromDER (const QByteArray &a, ConvertResult *result=nullptr, const QString &provider=QString()) |
| static CRL | fromPEM (const QString &s, ConvertResult *result=nullptr, const QString &provider=QString()) |
| static CRL | fromPEMFile (const QString &fileName, ConvertResult *result=nullptr, const QString &provider=QString()) |
Additional Inherited Members | |
Protected Member Functions inherited from QCA::Algorithm | |
| Algorithm () | |
| Algorithm (const QString &type, const QString &provider) | |
Detailed Description
Certificate Revocation List
A CRL is a list of certificates that are special in some way. The normal reason for including a certificate on a CRL is that the certificate should no longer be used. For example, if a key is compromised, then the associated certificate may no longer provides appropriate security. There are other reasons why a certificate may be placed on a CRL, as shown in the CRLEntry::Reason enumeration.
- See also
- CertificateCollection for a way to handle Certificates and CRLs as a single entity.
- CRLEntry for the CRL segment representing a single Certificate.
Definition at line 1739 of file qca_cert.h.
Constructor & Destructor Documentation
◆ CRL()
| QCA::CRL::CRL | ( | const CRL & | from | ) |
Standard copy constructor.
- Parameters
-
from the revocation list to copy from
Member Function Documentation
◆ change()
| void QCA::CRL::change | ( | CRLContext * | c | ) |
- Parameters
-
c context (internal)
◆ fromDER()
|
static |
Import a DER encoded Certificate Revocation List (CRL)
- Parameters
-
a the array containing the CRL in DER format result a pointer to a ConvertResult, which if not-null will be set to the conversion status provider the provider to use, if a specific provider is required
- Returns
- the CRL corresponding to the contents of the array
◆ fromPEM()
|
static |
Import a PEM encoded Certificate Revocation List (CRL)
- Parameters
-
s the string containing the CRL in PEM format result a pointer to a ConvertResult, which if not-null will be set to the conversion status provider the provider to use, if a specific provider is required
- Returns
- the CRL corresponding to the contents of the string
◆ fromPEMFile()
|
static |
Import a PEM encoded Certificate Revocation List (CRL) from a file.
- Parameters
-
fileName the name (and path, if required) of the file containing the certificate in PEM format result a pointer to a ConvertResult, which if not-null will be set to the conversion status provider the provider to use, if a specific provider is required
- Returns
- the CRL in the file
◆ isNull()
| bool QCA::CRL::isNull | ( | ) | const |
◆ issuerInfo()
| CertificateInfo QCA::CRL::issuerInfo | ( | ) | const |
Information on the issuer of the CRL as a QMultiMap.
- See also
- issuerInfoOrdered for a version that maintains the order of information fields as per the underlying CRL.
◆ issuerInfoOrdered()
| CertificateInfoOrdered QCA::CRL::issuerInfoOrdered | ( | ) | const |
Information on the issuer of the CRL as an ordered list (QList of CertificateInfoPair).
- See also
- issuerInfo for a version that allows lookup based on a multimap.
- CertificateInfoPair for the elements in the list
◆ issuerKeyId()
| QByteArray QCA::CRL::issuerKeyId | ( | ) | const |
The key identification of the CRL issuer.
◆ nextUpdate()
| QDateTime QCA::CRL::nextUpdate | ( | ) | const |
◆ number()
| int QCA::CRL::number | ( | ) | const |
◆ operator!=()
|
inline |
Inequality operator.
Definition at line 1834 of file qca_cert.h.
◆ operator=()
Standard assignment operator.
- Parameters
-
from the revocation list to assign from
◆ operator==()
| bool QCA::CRL::operator== | ( | const CRL & | a | ) | const |
◆ revoked()
◆ signatureAlgorithm()
| SignatureAlgorithm QCA::CRL::signatureAlgorithm | ( | ) | const |
The signature algorithm used for the signature on this CRL.
◆ thisUpdate()
◆ toDER()
| QByteArray QCA::CRL::toDER | ( | ) | const |
◆ toPEM()
| QString QCA::CRL::toPEM | ( | ) | const |
◆ toPEMFile()
| bool QCA::CRL::toPEMFile | ( | const QString & | fileName | ) | const |
Export the Certificate Revocation List (CRL) into PEM format in a file.
- Parameters
-
fileName the name of the file to use
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:01:48 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
Public Member Functions inherited from