#include <HoldInstructionCode.h>


HoldInstruction ::= OBJECT IDENTIFIERFor 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 HoldInstructionCode.h.
Public Member Functions | |
| CPKIFHoldInstructionCode () | |
| CPKIFHoldInstructionCode (const bool &criticality, const CPKIFBufferPtr &ext) | |
| virtual | ~CPKIFHoldInstructionCode () |
| const CPKIFOIDPtr | oid () const |
| CPKIFOIDPtr | HoldInstruction () const |
| CPKIFBufferPtr | value () const |
Static Public Attributes | |
| static char | extOID [] = "2.5.29.23" |
| CPKIFHoldInstructionCode::CPKIFHoldInstructionCode | ( | ) |
Interface: External
Default constructor
Definition at line 37 of file HoldInstructionCode.cpp.
| CPKIFHoldInstructionCode::CPKIFHoldInstructionCode | ( | 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 HoldInstructionCode.cpp.
References CACASNWRAPPER_CREATE.
| CPKIFHoldInstructionCode::~CPKIFHoldInstructionCode | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFHoldInstructionCode.
Definition at line 105 of file HoldInstructionCode.cpp.
| const CPKIFOIDPtr CPKIFHoldInstructionCode::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 131 of file HoldInstructionCode.cpp.
References extOID.
| CPKIFOIDPtr CPKIFHoldInstructionCode::HoldInstruction | ( | ) | const |
Interface: External
This function returns an object identifier indicating the value from a hold instruction code extension.
Definition at line 120 of file HoldInstructionCode.cpp.
Referenced by CPKIFGeneralCRLDetailsPanel::PopulateListExtensions().
| CPKIFBufferPtr CPKIFHoldInstructionCode::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 146 of file HoldInstructionCode.cpp.
char CPKIFHoldInstructionCode::extOID = "2.5.29.23" [static] |
Definition at line 47 of file HoldInstructionCode.h.
Referenced by oid(), and CPKIFHoldInstructionCodeFactory::refOID().
1.5.6