#include <CRLDistributionPoints.h>
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" |
CPKIFCRLDistributionPoints::CPKIFCRLDistributionPoints | ( | ) |
Interface: External
This constructor creates a default instance of CPKIFCRLDistributionPoints object.
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.
std::bad_alloc | Interface: External |
std::bad_alloc |
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.
Definition at line 161 of file CRLDistributionPoints.cpp.
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.
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.
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.
Reimplemented from CPKIFX509Extension.
Definition at line 193 of file CRLDistributionPoints.cpp.
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().