#include <ResponseBytes.h>
TSP-enforcing: No
Definition at line 23 of file ResponseBytes.h.
Public Member Functions | |
CPKIFResponseBytes (void) | |
CPKIFResponseBytes (const CPKIFOID &type, const CPKIFBuffer &respData) | |
~CPKIFResponseBytes (void) | |
CPKIFOIDPtr | GetResponseType () const |
void | SetResponseType (CPKIFOIDPtr &responseType) |
CPKIFBufferPtr | GetResponse () const |
void | SetResponse (CPKIFBufferPtr &resp) |
CPKIFResponseBytes::CPKIFResponseBytes | ( | void | ) |
Interface: External
Default constructor
Definition at line 34 of file ResponseBytes.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFResponseBytes::CPKIFResponseBytes | ( | const CPKIFOID & | type, | |
const CPKIFBuffer & | respData | |||
) |
Interface: External
This function is used to create and initialize CPKIFResponseBytes objects. The version of this function that takes a ResponseBytes parameter is used internally by PKIF when parsing OCSP objects. It is not used by applications.
type | [in] Reference to a smart pointer to CPKIFOID object which conatins the response type |
respData | [in] Reference to a smart pointer to CPKIFBuffer obejct which contains the response data |
Definition at line 60 of file ResponseBytes.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFResponseBytes::~CPKIFResponseBytes | ( | void | ) |
Interface: External
This function destroys CPKIFResponseBytes objects.
Definition at line 82 of file ResponseBytes.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFOIDPtr CPKIFResponseBytes::GetResponseType | ( | ) | const |
Interface: External
This function is used to get the response type value associated with a ResponseBytes object.
Definition at line 98 of file ResponseBytes.cpp.
void CPKIFResponseBytes::SetResponseType | ( | CPKIFOIDPtr & | responseType | ) |
Interface: External
This function is used to set the response type value associated with a ResponseBytes object.
responseType | [in] Reference to a smart pointer to a CPKIFOID object containing the object identifier associated with the encoded response that comprises the ResponseBytes object |
Definition at line 109 of file ResponseBytes.cpp.
CPKIFBufferPtr CPKIFResponseBytes::GetResponse | ( | ) | const |
Interface: External
This function is used to get the response value associated with a ResponseBytes object.
Definition at line 126 of file ResponseBytes.cpp.
void CPKIFResponseBytes::SetResponse | ( | CPKIFBufferPtr & | resp | ) |
Interface: External
This function is used to set the response value associated with a ResponseBytes object.
resp | [in] Reference to a smart pointer to a CPKIFBuffer object containing an encoded response |
Definition at line 138 of file ResponseBytes.cpp.