CPKIFRequestReference Class Reference

#include <RequestReference.h>

Collaboration diagram for CPKIFRequestReference:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFRequestReference class provides an interface to SCVP RequestReference object.

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 ()

Constructor & Destructor Documentation

CPKIFRequestReference::CPKIFRequestReference (  ) 

Interface: External

This function is used to create and initialize CPKIFRequestReference object.

Returns:
None

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.

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

Returns:
None

Definition at line 100 of file RequestReference.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFRequestReference::SetFullRequest ( CPKIFBufferPtr &  fullRequest  ) 

Interface: External

This function is used to set the full scvp request

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

Returns:
Smart pointer to CPKIFBuffer object containing 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

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

Returns:
Smart pointer to CPKIFIlgorithmIdentifier object containing 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.

Returns:
REQUESTREV

Definition at line 172 of file RequestReference.cpp.

References REQUESTREV_FULL, REQUESTREV_HASH, and REQUESTREV_NONE.


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