#include <QtCrypto>
Inheritance diagram for QCA::CRL:


Public Member Functions | |
| void | change (CRLContext *c) |
| CRL (const CRL &from) | |
| 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 |
Static Public Member Functions | |
| static CRL | fromDER (const QByteArray &a, ConvertResult *result=0, const QString &provider=QString()) |
| static CRL | fromPEM (const QString &s, ConvertResult *result=0, const QString &provider=QString()) |
| static CRL | fromPEMFile (const QString &fileName, ConvertResult *result=0, const QString &provider=QString()) |
Friends | |
| class | Private |
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.
CRLEntry for the CRL segment representing a single Certificate.
| QCA::CRL::CRL | ( | const CRL & | from | ) |
Standard copy constructor.
| from | the revocation list to copy from |
| void QCA::CRL::change | ( | CRLContext * | c | ) |
For internal use only.
| c | context (internal) |
| static CRL QCA::CRL::fromDER | ( | const QByteArray & | a, | |
| ConvertResult * | result = 0, |
|||
| const QString & | provider = QString() | |||
| ) | [static] |
Import a DER encoded Certificate Revocation List (CRL).
| 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 |
| static CRL QCA::CRL::fromPEM | ( | const QString & | s, | |
| ConvertResult * | result = 0, |
|||
| const QString & | provider = QString() | |||
| ) | [static] |
Import a PEM encoded Certificate Revocation List (CRL).
| 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 |
| static CRL QCA::CRL::fromPEMFile | ( | const QString & | fileName, | |
| ConvertResult * | result = 0, |
|||
| const QString & | provider = QString() | |||
| ) | [static] |
Import a PEM encoded Certificate Revocation List (CRL) from a file.
| 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 |
| bool QCA::CRL::isNull | ( | ) | const |
| CertificateInfo QCA::CRL::issuerInfo | ( | ) | const |
Information on the issuer of the CRL as a QMultiMap.
| CertificateInfoOrdered QCA::CRL::issuerInfoOrdered | ( | ) | const |
Information on the issuer of the CRL as an ordered list (QList of CertificateInfoPair).
CertificateInfoPair for the elements in the list
| QByteArray QCA::CRL::issuerKeyId | ( | ) | const |
The key identification of the CRL issuer.
| QDateTime QCA::CRL::nextUpdate | ( | ) | const |
| int QCA::CRL::number | ( | ) | const |
| bool QCA::CRL::operator!= | ( | const CRL & | other | ) | const [inline] |
Standard assignment operator.
| from | the revocation list to assign from |
| bool QCA::CRL::operator== | ( | const CRL & | a | ) | const |
| SignatureAlgorithm QCA::CRL::signatureAlgorithm | ( | ) | const |
The signature algorithm used for the signature on this CRL.
| QByteArray QCA::CRL::toDER | ( | ) | const |
| QString QCA::CRL::toPEM | ( | ) | const |
| bool QCA::CRL::toPEMFile | ( | const QString & | fileName | ) | const |
Export the Certificate Revocation List (CRL) into PEM format in a file.
| fileName | the name of the file to use |
1.5.2