QCA::CRLEntry
#include <QtCrypto>
Public Types | |
enum | Reason { Unspecified , KeyCompromise , CACompromise , AffiliationChanged , Superseded , CessationOfOperation , CertificateHold , RemoveFromCRL , PrivilegeWithdrawn , AACompromise } |
Public Member Functions | |
CRLEntry () | |
CRLEntry (const BigInteger serial, const QDateTime &time, Reason r=Unspecified) | |
CRLEntry (const Certificate &c, Reason r=Unspecified) | |
CRLEntry (const CRLEntry &from) | |
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 |
Detailed Description
Part of a CRL representing a single certificate.
Definition at line 1600 of file qca_cert.h.
Member Enumeration Documentation
◆ Reason
The reason why the certificate has been revoked.
Enumerator | |
---|---|
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 |
Definition at line 1606 of file qca_cert.h.
Constructor & Destructor Documentation
◆ CRLEntry() [1/4]
QCA::CRLEntry::CRLEntry | ( | ) |
create an empty CRL entry
◆ CRLEntry() [2/4]
|
explicit |
create a CRL entry
- Parameters
-
c the certificate to revoke r the reason that the certificate is being revoked
◆ CRLEntry() [3/4]
QCA::CRLEntry::CRLEntry | ( | const BigInteger | serial, |
const QDateTime & | time, | ||
Reason | r = Unspecified ) |
create a CRL entry
- Parameters
-
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
◆ CRLEntry() [4/4]
QCA::CRLEntry::CRLEntry | ( | const CRLEntry & | from | ) |
Copy constructor.
- Parameters
-
from the CRLEntry to copy from
Member Function Documentation
◆ isNull()
bool QCA::CRLEntry::isNull | ( | ) | const |
Test if this CRL entry is empty.
◆ operator!=()
|
inline |
Inequality operator.
Definition at line 1705 of file qca_cert.h.
◆ operator<()
bool QCA::CRLEntry::operator< | ( | const CRLEntry & | a | ) | const |
◆ operator=()
Standard assignment operator.
- Parameters
-
from the CRLEntry to copy from
◆ operator==()
bool QCA::CRLEntry::operator== | ( | const CRLEntry & | a | ) | const |
◆ reason()
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
◆ serialNumber()
BigInteger QCA::CRLEntry::serialNumber | ( | ) | const |
The serial number of the certificate that is the subject of this CRL entry.
◆ time()
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.