#include <CapiCRL.h>
TSP-enforcing: No
Definition at line 41 of file CapiCRL.h.
Public Member Functions | |
CPKIFCapiCRLEntry (PCRL_ENTRY crlEntry) | |
virtual | ~CPKIFCapiCRLEntry () |
bool | AreThereAnyUnprocessedCriticalExtensions (std::vector< CPKIFX509ExtensionPtr > &processedExts) |
virtual void | GetEncodedExtensions (CPKIFBufferPtr &buf) |
virtual void | GetExtensionByOID (const CPKIFOID &oid, CPKIFX509ExtensionPtr &ref) |
const char * | SerialNumber () const |
const CPKIFTimePtr | RevocationDate () const |
CPKIFCapiCRLEntry::CPKIFCapiCRLEntry | ( | PCRL_ENTRY | crlEntry | ) |
Interface: Module
Default constructor for CPKIFCapiCRLEntry objects.
Definition at line 648 of file CapiCRL.cpp.
References CPKIFCapiCRLEntry(), CPKIFCapiCRLEntryImpl::m_crlEntry, and CPKIFCapiCRLEntryImpl::m_this.
Referenced by CPKIFCapiCRLEntry().
CPKIFCapiCRLEntry::~CPKIFCapiCRLEntry | ( | ) | [virtual] |
bool CPKIFCapiCRLEntry::AreThereAnyUnprocessedCriticalExtensions | ( | std::vector< CPKIFX509ExtensionPtr > & | processedExts | ) |
Interface: Module
This function returns true the vector passed as a parameter contains some unprocessed critical extensions.
Reimplemented from CPKIFCRLEntry.
Definition at line 672 of file CapiCRL.cpp.
References CPKIFCapiCRLEntryImpl::m_exts, and ExtensionsMatch::SetRHS().
void CPKIFCapiCRLEntry::GetEncodedExtensions | ( | CPKIFBufferPtr & | buf | ) | [virtual] |
Interface: Module
This function returns a CPKIFBufferPtr object containing the DER encoded extensions via the buf parameter.
Reimplemented from CPKIFCRLEntry.
Definition at line 697 of file CapiCRL.cpp.
References CPKIFCapiCRLEntryImpl::m_crlEntry.
void CPKIFCapiCRLEntry::GetExtensionByOID | ( | const CPKIFOID & | oid, | |
CPKIFX509ExtensionPtr & | ref | |||
) | [virtual] |
Interface: Module
This function accepts a CPKIFOIDPtr object and returns a CPKIFX509ExtensionPtr from the internal vector of extensions if the extension is found and ULL otherwise. The value is returned via the outbound CPKIFX509ExtensionPtr parameter.
Reimplemented from CPKIFCRLEntry.
Definition at line 743 of file CapiCRL.cpp.
References CPKIFCapiCRLEntryImpl::m_crlEntry, CPKIFCapiCRLEntryImpl::m_exts, and CPKIFCapiCRLEntryImpl::populateExtensionsVector().
const char * CPKIFCapiCRLEntry::SerialNumber | ( | ) | const [virtual] |
Interface: Module
This function returns a const char* pointing to the serial number of the CRL. The pointer will be destroyed when the CPKIFCapiCRLEntry is destroyed.
Reimplemented from CPKIFCRLEntry.
Definition at line 769 of file CapiCRL.cpp.
References btoa(), CPKIFCapiCRLEntryImpl::m_crlEntry, m_impl, and CPKIFCapiCRLEntryImpl::m_serialNumber.
const CPKIFTimePtr CPKIFCapiCRLEntry::RevocationDate | ( | ) | const [virtual] |
Interface: Module
This function returns a CPKIFTimePtr object containing the revocation date associated with the CRL entry, if any.
Reimplemented from CPKIFCRLEntry.
Definition at line 795 of file CapiCRL.cpp.
References CACASNWRAPPER_CREATE, CPKIFTime, GENERALIZEDTIME, m_impl, CPKIFCapiCRLEntryImpl::m_revocationDate, and UTCTIME.