#include <InhibitAnyPolicy.h>
SkipCerts ::= INTEGER (0..MAX)
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 39 of file InhibitAnyPolicy.h.
Public Member Functions | |
CPKIFInhibitAnyPolicy () | |
CPKIFInhibitAnyPolicy (const bool &criticality, const CPKIFBufferPtr &ext) | |
virtual | ~CPKIFInhibitAnyPolicy () |
const CPKIFOIDPtr | oid () const |
int | SkipCerts () |
void | SetSkipCerts (int skipCerts) |
CPKIFBufferPtr | value () const |
Static Public Attributes | |
static char | extOID [] = "2.5.29.54" |
CPKIFInhibitAnyPolicy::CPKIFInhibitAnyPolicy | ( | ) |
Interface: External
Default constructor
Definition at line 40 of file InhibitAnyPolicy.cpp.
CPKIFInhibitAnyPolicy::CPKIFInhibitAnyPolicy | ( | 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 InhibitAnyPolicy.cpp.
References CACASNWRAPPER_CREATE.
CPKIFInhibitAnyPolicy::~CPKIFInhibitAnyPolicy | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFInhibitAnyPolicy.
Definition at line 101 of file InhibitAnyPolicy.cpp.
const CPKIFOIDPtr CPKIFInhibitAnyPolicy::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 117 of file InhibitAnyPolicy.cpp.
References extOID.
int CPKIFInhibitAnyPolicy::SkipCerts | ( | ) |
Interface: External
This function returns the value of an inhibit any policy extension.
Definition at line 132 of file InhibitAnyPolicy.cpp.
Referenced by operator<<().
void CPKIFInhibitAnyPolicy::SetSkipCerts | ( | int | skipCerts | ) |
Interface: External
This function sets the skip certs value of an inhibit any policy extension.
Definition at line 143 of file InhibitAnyPolicy.cpp.
CPKIFBufferPtr CPKIFInhibitAnyPolicy::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 155 of file InhibitAnyPolicy.cpp.
References CACASNWRAPPER_CREATE.
char CPKIFInhibitAnyPolicy::extOID = "2.5.29.54" [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.54".
Definition at line 50 of file InhibitAnyPolicy.h.
Referenced by oid(), and CPKIFInhibitAnyPolicyFactory::refOID().