CPKIFCRLDistributionPoints Class Reference

#include <CRLDistributionPoints.h>

Inheritance diagram for CPKIFCRLDistributionPoints:

Inheritance graph
[legend]
Collaboration diagram for CPKIFCRLDistributionPoints:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFCRLDistributionPoints provides access to information found in a CRL distribution points extension. The ASN.1 definition used by PKIF is given below:
CRLDistPointsSyntax ::= SEQUENCE SIZE(1..MAX) OF DistributionPoint

DistributionPoint ::= SEQUENCE 
{
    distributionPoint  [0] DistributionPointName OPTIONAL,
    reasons            [1] ReasonFlags OPTIONAL,
    cRLIssuer          [2] GeneralNames OPTIONAL 
}

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 52 of file CRLDistributionPoints.h.


Public Member Functions

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

Static Public Attributes

static char extOID [] = "2.5.29.31"

Constructor & Destructor Documentation

CPKIFCRLDistributionPoints::CPKIFCRLDistributionPoints (  ) 

Interface: External

This constructor creates a default instance of CPKIFCRLDistributionPoints object.

Returns:
None

Definition at line 52 of file CRLDistributionPoints.cpp.

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

Interface: External

This constructor takes a reference to a CACX509V3Extension is internally invoked; It 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 takes a reference to a CACX509V3Extension is internally invoked; It 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 
Parameters:
criticality  [in] Reference to an internal structure representation of the extension containing information used to construct the object

Definition at line 118 of file CRLDistributionPoints.cpp.

References CACASNWRAPPER_CREATE.

CPKIFCRLDistributionPoints::~CPKIFCRLDistributionPoints (  )  [virtual]

Interface: External

The function destroys an instance of CPKIFCRLDistributionPoints.

Returns:
None

Definition at line 161 of file CRLDistributionPoints.cpp.


Member Function Documentation

const CPKIFOIDPtr CPKIFCRLDistributionPoints::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 177 of file CRLDistributionPoints.cpp.

References extOID.

CPKIFCRLDistributionPointListPtr CPKIFCRLDistributionPoints::DPs (  )  const

Interface: External

The list of DistributionPoint objects (see CPKIFCRLDistributionPoint) contained in the CRLDistributionPoints extension.

Returns:
List of DistributionPoint objects

Definition at line 64 of file CRLDistributionPoints.cpp.

Referenced by operator<<().

CPKIFBufferPtr CPKIFCRLDistributionPoints::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 193 of file CRLDistributionPoints.cpp.


Member Data Documentation

char CPKIFCRLDistributionPoints::extOID = "2.5.29.31" [static]

The extOID member of each extension class provides a NULL terminated string representation of the object identifier that identifies the extension. The value defined for this class is "2.5.29.31".

Definition at line 63 of file CRLDistributionPoints.h.

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


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

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