CPKIFRevInfoWantBack Class Reference

#include <RevInfoWantBack.h>

Collaboration diagram for CPKIFRevInfoWantBack:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFRevInfoWantBack class provides an interface to SCVP ReplyWantBack object.

TSP-enforcing: No

Definition at line 32 of file RevInfoWantBack.h.


Public Member Functions

 CPKIFRevInfoWantBack ()
 CPKIFRevInfoWantBack (const CPKIFBufferPtr &)
virtual ~CPKIFRevInfoWantBack (void)
void SetRevInfos (CPKIFRevocationInfoListPtr &check)
void GetRevInfos (CPKIFRevocationInfoListPtr &check) const
void SetExtraCerts (CPKIFCertBundlePtr &certBundle)
const CPKIFCertBundlePtr GetExtraCerts () const
CPKIFBufferPtr Encode ()

Constructor & Destructor Documentation

CPKIFRevInfoWantBack::CPKIFRevInfoWantBack (  ) 

Interface: External

This function is used to create and initialize CPKIFRevInfoWantBack object.

Returns:
None

Definition at line 44 of file RevInfoWantBack.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.

CPKIFRevInfoWantBack::CPKIFRevInfoWantBack ( const CPKIFBufferPtr &  revInfoWantBack  ) 

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:
revInfoWantBack  [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded ReplyWantBack

Definition at line 59 of file RevInfoWantBack.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.

CPKIFRevInfoWantBack::~CPKIFRevInfoWantBack ( void   )  [virtual]

Interface: External

This function destroys instances of CPKIFRevInfoWantBack.

Returns:
None

Definition at line 271 of file RevInfoWantBack.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFRevInfoWantBack::SetRevInfos ( CPKIFRevocationInfoListPtr &  revInfoList  ) 

Interface: External

This function is used to set rev infos list

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

Definition at line 286 of file RevInfoWantBack.cpp.

void CPKIFRevInfoWantBack::GetRevInfos ( CPKIFRevocationInfoListPtr &  revInfoList  )  const

Interface: External

This function is used to get rev infos list

Returns:
None
Parameters:
revInfoList  [in/out] Smart pointer to CPKIFOID object

Definition at line 299 of file RevInfoWantBack.cpp.

Referenced by GetRevInfos().

void CPKIFRevInfoWantBack::SetExtraCerts ( CPKIFCertBundlePtr &  bundle  ) 

Interface: External

This function is used to set the extra certs bundle

Returns:
None
Parameters:
bundle  [in] Integer value representing want back value

Definition at line 313 of file RevInfoWantBack.cpp.

const CPKIFCertBundlePtr CPKIFRevInfoWantBack::GetExtraCerts (  )  const

Interface: External

This function is used to get the exrta certs bundle

Returns:
Smart pointer to CPKIFCertBundle object containing the the cert bundle.

Definition at line 326 of file RevInfoWantBack.cpp.

CPKIFBufferPtr CPKIFRevInfoWantBack::Encode (  ) 

Interface: External

This function encodes RevInfoWantBack and returns an encoded buffer

Returns:
Encoded RevInfoWantBack

Definition at line 113 of file RevInfoWantBack.cpp.

References CACASNWRAPPER_CREATE, ConvertStringToASN1OBJID(), CopyOID(), NEW_NEXT_AND_ADVANCE, NEW_NODE, and SET_HEAD_TAIL_INCREMENT.


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

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