CPKIFResponseBytes Class Reference

#include <ResponseBytes.h>

Collaboration diagram for CPKIFResponseBytes:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFResponseBytes class provides an interface to ResponseBytes objects.

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)

Constructor & Destructor Documentation

CPKIFResponseBytes::CPKIFResponseBytes ( void   ) 

Interface: External

Default constructor

Returns:
None

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.

Returns:
None
Parameters:
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.

Returns:
None

Definition at line 82 of file ResponseBytes.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.


Member Function Documentation

CPKIFOIDPtr CPKIFResponseBytes::GetResponseType (  )  const

Interface: External

This function is used to get the response type value associated with a ResponseBytes object.

Returns:
The GetResponseType function returns a smart pointer to a CPKIFOID object containing the object identifier associated with the encoded response, if present, and NULL otherwise.

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.

Returns:
None
Parameters:
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.

Returns:
The GetResponse function returns a smart pointer to a CPKIFBuffer object containing an encoded response, if present, and NULL otherwise.

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.

Returns:
None
Parameters:
resp  [in] Reference to a smart pointer to a CPKIFBuffer object containing an encoded response

Definition at line 138 of file ResponseBytes.cpp.


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:20:39 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6