CPKIFCapiCRLEntry Class Reference

#include <CapiCRL.h>

Inheritance diagram for CPKIFCapiCRLEntry:

Inheritance graph
[legend]
Collaboration diagram for CPKIFCapiCRLEntry:

Collaboration graph
[legend]

List of all members.


Detailed Description

This is a helper class used by CPKIFCapiCRL class to access CRL entries from CRL retvied from Microsoft CAPI.

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

Constructor & Destructor Documentation

CPKIFCapiCRLEntry::CPKIFCapiCRLEntry ( PCRL_ENTRY  crlEntry  ) 

Interface: Module

Default constructor for CPKIFCapiCRLEntry objects.

Returns:
N/A

Definition at line 648 of file CapiCRL.cpp.

References CPKIFCapiCRLEntry(), CPKIFCapiCRLEntryImpl::m_crlEntry, and CPKIFCapiCRLEntryImpl::m_this.

Referenced by CPKIFCapiCRLEntry().

CPKIFCapiCRLEntry::~CPKIFCapiCRLEntry (  )  [virtual]

Interface: Module

Default destructor.

Returns:
N/A

Definition at line 661 of file CapiCRL.cpp.


Member Function Documentation

bool CPKIFCapiCRLEntry::AreThereAnyUnprocessedCriticalExtensions ( std::vector< CPKIFX509ExtensionPtr > &  processedExts  ) 

Interface: Module

This function returns true the vector passed as a parameter contains some unprocessed critical extensions.

Returns:
true or false

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.

Returns:
N/A

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.

Returns:
N/A

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.

Returns:
N/A

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.

Returns:
N/A

Reimplemented from CPKIFCRLEntry.

Definition at line 795 of file CapiCRL.cpp.

References CACASNWRAPPER_CREATE, CPKIFTime, GENERALIZEDTIME, m_impl, CPKIFCapiCRLEntryImpl::m_revocationDate, and UTCTIME.


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:19:56 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6