#include <CRLNumber.h>
CRLNumber ::= INTEGER
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 41 of file CRLNumber.h.
Public Member Functions | |
CPKIFCRLNumber () | |
CPKIFCRLNumber (const bool &criticality, const CPKIFBufferPtr &ext) | |
virtual | ~CPKIFCRLNumber () |
const CPKIFOIDPtr | oid () const |
const char * | CRLNumber () const |
CPKIFBufferPtr | value () const |
Static Public Attributes | |
static char | extOID [] = "2.5.29.20" |
CPKIFCRLNumber::CPKIFCRLNumber | ( | ) |
CPKIFCRLNumber::CPKIFCRLNumber | ( | 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.
std::bad_alloc | Interface: External |
std::bad_alloc |
Definition at line 78 of file CRLNumber.cpp.
References CACASNWRAPPER_CREATE.
CPKIFCRLNumber::~CPKIFCRLNumber | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFCRLNumber
Definition at line 105 of file CRLNumber.cpp.
const CPKIFOIDPtr CPKIFCRLNumber::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 120 of file CRLNumber.cpp.
References extOID.
const char * CPKIFCRLNumber::CRLNumber | ( | ) | const |
Interface: External
The CRL number indicated by a CRL number extension
Definition at line 135 of file CRLNumber.cpp.
Referenced by CPKIFGeneralCRLDetailsPanel::PopulateListExtensions().
CPKIFBufferPtr CPKIFCRLNumber::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 149 of file CRLNumber.cpp.
char CPKIFCRLNumber::extOID = "2.5.29.20" [static] |
Definition at line 49 of file CRLNumber.h.
Referenced by oid(), and CPKIFCRLNumberFactory::refOID().