• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

QCA::CRLEntry

QCA::CRLEntry Class Reference
[QCA user API]

Part of a CRL representing a single certificate. More...

#include <QtCrypto>

List of all members.

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 ()
 ~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

Detailed Description

Part of a CRL representing a single certificate.

Definition at line 1564 of file qca_cert.h.


Member Enumeration Documentation

enum QCA::CRLEntry::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

AffiliationChanged 
Superseded 

certificate has been superseded

CessationOfOperation 
CertificateHold 

certificate is on hold

RemoveFromCRL 

certificate was previously in a CRL, but is now valid

PrivilegeWithdrawn 
AACompromise 

attribute authority has been compromised

Definition at line 1570 of file qca_cert.h.


Constructor & Destructor Documentation

QCA::CRLEntry::CRLEntry (  ) 

create an empty CRL entry

Definition at line 2024 of file qca_cert.cpp.

QCA::CRLEntry::CRLEntry ( const Certificate &  c,
Reason  r = Unspecified 
) [explicit]

create a CRL entry

Parameters:
c the certificate to revoke
r the reason that the certificate is being revoked

Definition at line 2029 of file qca_cert.cpp.

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

Definition at line 2036 of file qca_cert.cpp.

QCA::CRLEntry::CRLEntry ( const CRLEntry &  from  ) 

Copy constructor.

Parameters:
from the CRLEntry to copy from

Definition at line 2043 of file qca_cert.cpp.

QCA::CRLEntry::~CRLEntry (  ) 

Definition at line 2048 of file qca_cert.cpp.


Member Function Documentation

bool QCA::CRLEntry::isNull (  )  const

Test if this CRL entry is empty.

Definition at line 2060 of file qca_cert.cpp.

bool QCA::CRLEntry::operator!= ( const CRLEntry &  other  )  const [inline]

Inequality operator.

Parameters:
other the CRL entry to be compared to this CRL entry.

Definition at line 1669 of file qca_cert.h.

bool QCA::CRLEntry::operator< ( const CRLEntry &  a  )  const

Test if one CRL entry is "less than" another.

CRL entries are compared based on their serial number

Parameters:
a the CRL entry to be compared to this CRL entry.

Definition at line 2101 of file qca_cert.cpp.

CRLEntry & QCA::CRLEntry::operator= ( const CRLEntry &  from  ) 

Standard assignment operator.

Parameters:
from the CRLEntry to copy from

Definition at line 2052 of file qca_cert.cpp.

bool QCA::CRLEntry::operator== ( const CRLEntry &  a  )  const

Test for equality of two CRL Entries.

Parameters:
a the CRL entry to be compared to this CRL entry.
Returns:
true if the two certificates are the same

Definition at line 2080 of file qca_cert.cpp.

CRLEntry::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

Definition at line 2075 of file qca_cert.cpp.

BigInteger QCA::CRLEntry::serialNumber (  )  const

The serial number of the certificate that is the subject of this CRL entry.

Definition at line 2065 of file qca_cert.cpp.

QDateTime QCA::CRLEntry::time (  )  const

The time this CRL entry was created.

Definition at line 2070 of file qca_cert.cpp.


The documentation for this class was generated from the following files:
  • qca_cert.h
  • qca_cert.cpp

qca

Skip menu "qca"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal