CPKIFCRLEntry Class Reference

#include <CRLEntry.h>

Inheritance diagram for CPKIFCRLEntry:

Inheritance graph
[legend]
Collaboration diagram for CPKIFCRLEntry:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFCRLEntry class provides access to RevokedCerts objects found on a CRL. The ASN.1 definition used by PKIF is as follows:
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

Constructor & Destructor Documentation

CPKIFCRLEntry::CPKIFCRLEntry (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 192 of file CRLEntry.cpp.

CPKIFCRLEntry::CPKIFCRLEntry ( const CPKIFBufferPtr &  buf  ) 

Interface: External

This constructor takes a der-encoded X509V3RevokedCerts structure creates an instance based on that content.

Returns:
None
Parameters:
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.

Returns:
None

Definition at line 204 of file CRLEntry.cpp.


Member Function Documentation

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.

Returns:
True if there are unprocessed crutical extensions, false otherwise
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

Returns:
None
Parameters:
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

Returns:
None
Parameters:
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.

Returns:
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.

Returns:
The revocation data from a CRL entry.

Reimplemented in CPKIFCapiCRLEntry.

Definition at line 142 of file CRLEntry.cpp.


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

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