#include <SecurityCategory.h>
SecurityCategory ::= SEQUENCE { type [0] OBJECT IDENTIFIER, value [1] ANY DEFINED BY type }
TSP-enforcing: No
Definition at line 40 of file SecurityCategory.h.
Public Member Functions | |
CPKIFSecurityCategory () | |
CPKIFSecurityCategory (const CPKIFBufferPtr &ext) | |
virtual | ~CPKIFSecurityCategory () |
const CPKIFOIDPtr | GetType () const |
const CPKIFBufferPtr | GetValue () const |
CPKIFSecurityCategory::CPKIFSecurityCategory | ( | ) |
Interface: External
Defaul constructor
Definition at line 34 of file SecurityCategory.cpp.
CPKIFSecurityCategory::CPKIFSecurityCategory | ( | 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 security category cannot be parsed.
std::bad_alloc |
Definition at line 49 of file SecurityCategory.cpp.
References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_X509_ASN.
CPKIFSecurityCategory::~CPKIFSecurityCategory | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFSecurityCategory.
Definition at line 77 of file SecurityCategory.cpp.
const CPKIFOIDPtr CPKIFSecurityCategory::GetType | ( | ) | const |
Interface: External
This function is used to retrive security category type
Definition at line 91 of file SecurityCategory.cpp.
const CPKIFBufferPtr CPKIFSecurityCategory::GetValue | ( | ) | const |
Interface: External
This function is used to retrive security category value
Definition at line 103 of file SecurityCategory.cpp.