#include <RequestReference.h>
TSP-enforcing: No
Definition at line 31 of file RequestReference.h.
Public Member Functions | |
CPKIFRequestReference () | |
CPKIFRequestReference (const CPKIFBufferPtr &) | |
virtual | ~CPKIFRequestReference (void) |
void | SetFullRequest (CPKIFBufferPtr &fullRequest) |
const CPKIFBufferPtr | GetFullRequest () const |
void | SetHashValue (CPKIFHashValuePtr &hashValue) |
const CPKIFHashValuePtr | GetHashValue () const |
REQUESTREV | GetRequestRefType () |
CPKIFRequestReference::CPKIFRequestReference | ( | ) |
Interface: External
This function is used to create and initialize CPKIFRequestReference object.
Definition at line 40 of file RequestReference.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
CPKIFRequestReference::CPKIFRequestReference | ( | const CPKIFBufferPtr & | reqRef | ) |
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 |
reqRef | [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded RequestReference |
Definition at line 55 of file RequestReference.cpp.
References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.
CPKIFRequestReference::~CPKIFRequestReference | ( | void | ) | [virtual] |
Interface: External
This function destroys instances of CPKIFRequestReference.
Definition at line 100 of file RequestReference.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
void CPKIFRequestReference::SetFullRequest | ( | CPKIFBufferPtr & | fullRequest | ) |
Interface: External
This function is used to set the full scvp request
fullRequest | [in] Smart pointer to CPKIFBuffer object containing the full scvp request |
Definition at line 115 of file RequestReference.cpp.
const CPKIFBufferPtr CPKIFRequestReference::GetFullRequest | ( | ) | const |
Interface: External
This function is used to get the the full scvp request
Definition at line 131 of file RequestReference.cpp.
void CPKIFRequestReference::SetHashValue | ( | CPKIFHashValuePtr & | hashValue | ) |
Interface: External
This function is used to set the hash value
hashValue | [in] Smart pointer to CPKIFHashValue object containing the hash value |
Definition at line 143 of file RequestReference.cpp.
const CPKIFHashValuePtr CPKIFRequestReference::GetHashValue | ( | ) | const |
Interface: External
This function is used to get the hash value
Definition at line 160 of file RequestReference.cpp.
REQUESTREV CPKIFRequestReference::GetRequestRefType | ( | ) |
Interface: External
This function returns the type of request reference info stored in this class.
Definition at line 172 of file RequestReference.cpp.
References REQUESTREV_FULL, REQUESTREV_HASH, and REQUESTREV_NONE.