#include <QtCrypto>
Public Types | |
enum | Reason { Unspecified, KeyCompromise, CACompromise, AffiliationChanged, Superseded, CessationOfOperation, CertificateHold, RemoveFromCRL, PrivilegeWithdrawn, AACompromise } |
Public Member Functions | |
CRLEntry (const CRLEntry &from) | |
CRLEntry (const BigInteger serial, const QDateTime &time, Reason r=Unspecified) | |
CRLEntry (const Certificate &c, Reason r=Unspecified) | |
CRLEntry () | |
bool | isNull () const |
bool | operator!= (const CRLEntry &other) const |
bool | operator< (const CRLEntry &a) const |
CRLEntry & | operator= (const CRLEntry &from) |
bool | operator== (const CRLEntry &a) const |
Reason | reason () const |
BigInteger | serialNumber () const |
QDateTime | time () const |
The reason why the certificate has been revoked.
Unspecified | reason is unknown |
KeyCompromise | private key has been compromised |
CACompromise | certificate authority has been compromised |
Superseded | certificate has been superseded |
CertificateHold | certificate is on hold |
RemoveFromCRL | certificate was previously in a CRL, but is now valid |
AACompromise | attribute authority has been compromised |
QCA::CRLEntry::CRLEntry | ( | ) |
create an empty CRL entry
QCA::CRLEntry::CRLEntry | ( | const Certificate & | c, | |
Reason | r = Unspecified | |||
) | [explicit] |
create a CRL entry
c | the certificate to revoke | |
r | the reason that the certificate is being revoked |
QCA::CRLEntry::CRLEntry | ( | const BigInteger | serial, | |
const QDateTime & | time, | |||
Reason | r = Unspecified | |||
) |
create a CRL entry
serial | the serial number of the Certificate being revoked | |
time | the time the Certificate was revoked (or will be revoked) | |
r | the reason that the certificate is being revoked |
QCA::CRLEntry::CRLEntry | ( | const CRLEntry & | from | ) |
bool QCA::CRLEntry::isNull | ( | ) | const |
Test if this CRL entry is empty.
bool QCA::CRLEntry::operator!= | ( | const CRLEntry & | other | ) | const [inline] |
bool QCA::CRLEntry::operator< | ( | const CRLEntry & | a | ) | const |
bool QCA::CRLEntry::operator== | ( | const CRLEntry & | a | ) | const |
Reason QCA::CRLEntry::reason | ( | ) | const |
The reason that this CRL entry was created.
Alternatively, you might like to think of this as the reason that the subject certificate has been revoked
BigInteger QCA::CRLEntry::serialNumber | ( | ) | const |
The serial number of the certificate that is the subject of this CRL entry.