#include <InvalidityDate.h>
IVDGeneralizedTime ::= GeneralizedTimeFor 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 InvalidityDate.h.
Public Member Functions | |
CPKIFInvalidityDate () | |
CPKIFInvalidityDate (const bool &criticality, const CPKIFBufferPtr &ext) | |
virtual | ~CPKIFInvalidityDate () |
const CPKIFOIDPtr | oid () const |
const char * | InvalidityDate () const |
CPKIFBufferPtr | value () const |
Static Public Attributes | |
static char | extOID [] = "2.5.29.24" |
CPKIFInvalidityDate::CPKIFInvalidityDate | ( | ) |
Interface: External
Default constructor
Definition at line 38 of file InvalidityDate.cpp.
CPKIFInvalidityDate::CPKIFInvalidityDate | ( | const bool & | criticality, | |
const CPKIFBufferPtr & | buf | |||
) |
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 76 of file InvalidityDate.cpp.
References CACASNWRAPPER_CREATE.
CPKIFInvalidityDate::~CPKIFInvalidityDate | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFInvalidityDate.
Definition at line 123 of file InvalidityDate.cpp.
const CPKIFOIDPtr CPKIFInvalidityDate::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 138 of file InvalidityDate.cpp.
References extOID.
const char * CPKIFInvalidityDate::InvalidityDate | ( | ) | const |
Interface: External
This function returns the invalidity date specified by an invalidity date extension.
Definition at line 106 of file InvalidityDate.cpp.
CPKIFBufferPtr CPKIFInvalidityDate::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 154 of file InvalidityDate.cpp.
char CPKIFInvalidityDate::extOID = "2.5.29.24" [static] |
Definition at line 46 of file InvalidityDate.h.
Referenced by oid(), and CPKIFInvalidityDateFactory::refOID().