#include <CRLEntry.h>
RevokedCerts ::= SEQUENCE { userCertificate CertificateSerialNumber, revocationDate Time, crlEntryExtensions Extensions OPTIONAL }TSP-enforcing: No
Definition at line 38 of file CRLEntry.h.
Public Member Functions | |
CPKIFCRLEntry () | |
CPKIFCRLEntry (const CPKIFBufferPtr &buf) | |
virtual | ~CPKIFCRLEntry () |
bool | AreThereAnyUnprocessedCriticalExtensions (std::vector< CPKIFX509ExtensionPtr > &processedExts) |
virtual void | GetEncodedExtensions (CPKIFBufferPtr &buf) |
virtual void | GetExtensionByOID (const CPKIFOID &oid, CPKIFX509ExtensionPtr &ref) |
virtual const char * | SerialNumber () const |
virtual const CPKIFTimePtr | RevocationDate () const |
CPKIFCRLEntry::CPKIFCRLEntry | ( | ) |
CPKIFCRLEntry::CPKIFCRLEntry | ( | const CPKIFBufferPtr & | buf | ) |
Interface: External
This constructor takes a der-encoded X509V3RevokedCerts structure creates an instance based on that content.
buf | [in] der-encoded CRL entry to build the object from. |
Definition at line 154 of file CRLEntry.cpp.
References CPKIFTime, GENERALIZEDTIME, and UTCTIME.
CPKIFCRLEntry::~CPKIFCRLEntry | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFCRLEntry.
Definition at line 204 of file CRLEntry.cpp.
bool CPKIFCRLEntry::AreThereAnyUnprocessedCriticalExtensions | ( | std::vector< CPKIFX509ExtensionPtr > & | processedExts | ) |
Interface: External
This function is used to determine if a CRL entry object holds any unprocessed critical extensions. Processed extensions are passed via the processedExts parameters.
processedExts | [in] A vector of any previously processed extensions. |
Reimplemented in CPKIFCapiCRLEntry.
Definition at line 221 of file CRLEntry.cpp.
References ExtensionsMatch::SetRHS().
void CPKIFCRLEntry::GetEncodedExtensions | ( | CPKIFBufferPtr & | buf | ) | [virtual] |
Interface: External
This function retrives all the encoded extension
buf | [in] A smart pointer to CPKIFBuffer object which will contain all the extensions |
Implements IPKIFHasExtensions.
Reimplemented in CPKIFCapiCRLEntry.
Definition at line 93 of file CRLEntry.cpp.
References CACASNWRAPPER_CREATE, and data.
void CPKIFCRLEntry::GetExtensionByOID | ( | const CPKIFOID & | oid, | |
CPKIFX509ExtensionPtr & | ref | |||
) | [virtual] |
Interface: External
This function retrives the extension identified by CPKIFOID object
oid | [in] Identifies the extension sought |
ref | [out] The extension (if present). |
Implements IPKIFHasExtensions.
Reimplemented in CPKIFCapiCRLEntry.
Definition at line 253 of file CRLEntry.cpp.
const char * CPKIFCRLEntry::SerialNumber | ( | ) | const [virtual] |
Interface: External
The serial number from a CRL entry.
Reimplemented in CPKIFCapiCRLEntry.
Definition at line 128 of file CRLEntry.cpp.
const CPKIFTimePtr CPKIFCRLEntry::RevocationDate | ( | ) | const [virtual] |
Interface: External
The revocation data from a CRL entry.
Reimplemented in CPKIFCapiCRLEntry.
Definition at line 142 of file CRLEntry.cpp.