CPKIFFreshestCRL Class Reference

#include <FreshestCRL.h>

Inheritance diagram for CPKIFFreshestCRL:

Inheritance graph
[legend]
Collaboration diagram for CPKIFFreshestCRL:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFFreshestCRL provides access to information found in a freshest CRL extension.

For details on accessing extensions in a certificate or CRL, see the sections on CPKIFCertificate and CPKIFCRL.

PKIF does not provide a means of encoding extensions. This class is used to parse extensions present in encoded objects, e.g. public-key certificates

TSP-enforcing: No

Definition at line 38 of file FreshestCRL.h.


Public Member Functions

 CPKIFFreshestCRL ()
 CPKIFFreshestCRL (const bool &criticality, const CPKIFBufferPtr &ext)
virtual ~CPKIFFreshestCRL ()
const CPKIFOIDPtr oid () const
CPKIFCRLDistributionPointListPtr DPs () const
CPKIFBufferPtr value () const

Static Public Attributes

static char extOID [] = "2.5.29.46"

Constructor & Destructor Documentation

CPKIFFreshestCRL::CPKIFFreshestCRL (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 38 of file FreshestCRL.cpp.

CPKIFFreshestCRL::CPKIFFreshestCRL ( const bool &  criticality,
const CPKIFBufferPtr &  ext 
)

Interface: External

This constructor is internally invoked; this version will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the extension cannot be parsed.

Returns:
None
Exceptions:
std::bad_alloc Interface: External
This constructor is internally invoked; this version will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the extension cannot be parsed.

Returns:
None
Exceptions:
std::bad_alloc 

Definition at line 96 of file FreshestCRL.cpp.

References CACASNWRAPPER_CREATE.

CPKIFFreshestCRL::~CPKIFFreshestCRL (  )  [virtual]

Interface: External

The function destroys an instance of CPKIFFreshestCRL.

Returns:
None

Definition at line 136 of file FreshestCRL.cpp.


Member Function Documentation

const CPKIFOIDPtr CPKIFFreshestCRL::oid (  )  const [virtual]

Interface: External

This function returns a smart pointer to a CPKIFOID object containing the object identifier associated with this type of extension.

Returns:
A smart pointer to a CPKIFOID object containing the object identifier associated with this type of extension.

Reimplemented from CPKIFX509Extension.

Definition at line 152 of file FreshestCRL.cpp.

References extOID.

CPKIFCRLDistributionPointListPtr CPKIFFreshestCRL::DPs (  )  const

Interface: External

This function returns a list of DistributionPoint objects specified in a freshed CRL extension.

Returns:
A list of DistributionPoint objects specified in a freshed CRL extension.

Definition at line 49 of file FreshestCRL.cpp.

Referenced by CPKIFGeneralCRLDetailsPanel::PopulateListExtensions().

CPKIFBufferPtr CPKIFFreshestCRL::value (  )  const [virtual]

Interface: External

This function returns a smart pointer to a CPKIFBuffer object containing value of the extension.

Returns:
A smart pointer to a CPKIFBuffer object containing value of the extension.

Reimplemented from CPKIFX509Extension.

Definition at line 167 of file FreshestCRL.cpp.


Member Data Documentation

char CPKIFFreshestCRL::extOID = "2.5.29.46" [static]

Definition at line 46 of file FreshestCRL.h.

Referenced by oid(), and CPKIFFreshestCRLFactory::refOID().


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

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