CPKIFReplyCheck Class Reference

#include <ReplyCheck.h>

Collaboration diagram for CPKIFReplyCheck:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFReplyCheck class provides an interface to SCVP ReplyCheck object.

TSP-enforcing: No

Definition at line 30 of file ReplyCheck.h.


Public Member Functions

 CPKIFReplyCheck ()
 CPKIFReplyCheck (const CPKIFBufferPtr &)
virtual ~CPKIFReplyCheck (void)
void SetCheck (CPKIFOIDPtr &check)
const CPKIFOIDPtr GetCheck () const
void SetStatus (int status)
const int GetStatus () const

Constructor & Destructor Documentation

CPKIFReplyCheck::CPKIFReplyCheck (  ) 

Interface: External

This function is used to create and initialize CPKIFReplyCheck object.

Returns:
None

Definition at line 38 of file ReplyCheck.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.

CPKIFReplyCheck::CPKIFReplyCheck ( const CPKIFBufferPtr &  replyCheck  ) 

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.

Returns:
None
Exceptions:
std::bad_alloc 
Parameters:
replyCheck  [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded ReplyCheck

Definition at line 53 of file ReplyCheck.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.

CPKIFReplyCheck::~CPKIFReplyCheck ( void   )  [virtual]

Interface: External

This function destroys instances of CPKIFReplyCheck.

Returns:
None

Definition at line 80 of file ReplyCheck.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFReplyCheck::SetCheck ( CPKIFOIDPtr &  check  ) 

Interface: External

This function is used to set check value

Returns:
None
Parameters:
check  [in] Smart pointer to CPKIFOID object

Definition at line 95 of file ReplyCheck.cpp.

const CPKIFOIDPtr CPKIFReplyCheck::GetCheck (  )  const

Interface: External

This function is used to get check

Returns:
The validation time

Definition at line 108 of file ReplyCheck.cpp.

void CPKIFReplyCheck::SetStatus ( int  status  ) 

Interface: External

This function is used to set status

Returns:
None
Parameters:
status  [in] Integer value representing status

Definition at line 120 of file ReplyCheck.cpp.

const int CPKIFReplyCheck::GetStatus (  )  const

Interface: External

This function is used to get status

Returns:
Integer value representing status

Definition at line 133 of file ReplyCheck.cpp.


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

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