#include <HashValue.h>
TSP-enforcing: No
Definition at line 30 of file HashValue.h.
Public Member Functions | |
CPKIFHashValue () | |
CPKIFHashValue (const CPKIFBufferPtr &) | |
virtual | ~CPKIFHashValue (void) |
void | SetValue (CPKIFBufferPtr &value) |
const CPKIFBufferPtr | GetValue () const |
void | SetAlgID (CPKIFAlgorithmIdentifierPtr &statusCode) |
const CPKIFAlgorithmIdentifierPtr | GetAlgID () const |
CPKIFHashValue::CPKIFHashValue | ( | ) |
Interface: External
This function is used to create and initialize CPKIFHashValue object.
Definition at line 42 of file HashValue.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
CPKIFHashValue::CPKIFHashValue | ( | const CPKIFBufferPtr & | hashValue | ) |
Interface: External
This constructor is internally invoked; it 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 |
hashValue | [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded HashValue |
Definition at line 57 of file HashValue.cpp.
References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.
CPKIFHashValue::~CPKIFHashValue | ( | void | ) | [virtual] |
Interface: External
This function destroys instances of CPKIFHashValue.
Definition at line 96 of file HashValue.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
void CPKIFHashValue::SetValue | ( | CPKIFBufferPtr & | value | ) |
Interface: External
This function is used to set hash value
value | [in] Smart pointer to CPKIFBuffer object containing the hash value |
Definition at line 111 of file HashValue.cpp.
const CPKIFBufferPtr CPKIFHashValue::GetValue | ( | ) | const |
Interface: External
This function is used to get the hash value
Definition at line 124 of file HashValue.cpp.
void CPKIFHashValue::SetAlgID | ( | CPKIFAlgorithmIdentifierPtr & | algID | ) |
Interface: External
This function is used to set the algorithm identifier
algID | [in] Smart pointer to CPKIFIlgorithmIdentifier object containing the algorithm identifier |
Definition at line 136 of file HashValue.cpp.
const CPKIFAlgorithmIdentifierPtr CPKIFHashValue::GetAlgID | ( | ) | const |
Interface: External
This function is used to get the algorithm identifier
Definition at line 149 of file HashValue.cpp.