CPKIFHashValue Class Reference

#include <HashValue.h>

Collaboration diagram for CPKIFHashValue:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFHashValue class provides an interface to SCVP HashValue object.

TSP-enforcing: No

Definition at line 30 of file HashValue.h.


Public Member Functions

 CPKIFHashValue ()
 CPKIFHashValue (const CPKIFBufferPtr &)
virtual ~CPKIFHashValue (void)
void SetValue (CPKIFBufferPtr &value)
const CPKIFBufferPtr GetValue () const
void SetAlgID (CPKIFAlgorithmIdentifierPtr &statusCode)
const CPKIFAlgorithmIdentifierPtr GetAlgID () const

Constructor & Destructor Documentation

CPKIFHashValue::CPKIFHashValue (  ) 

Interface: External

This function is used to create and initialize CPKIFHashValue object.

Returns:
None

Definition at line 42 of file HashValue.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.

CPKIFHashValue::CPKIFHashValue ( const CPKIFBufferPtr &  hashValue  ) 

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

Definition at line 57 of file HashValue.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.

CPKIFHashValue::~CPKIFHashValue ( void   )  [virtual]

Interface: External

This function destroys instances of CPKIFHashValue.

Returns:
None

Definition at line 96 of file HashValue.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFHashValue::SetValue ( CPKIFBufferPtr &  value  ) 

Interface: External

This function is used to set hash value

Returns:
None
Parameters:
value  [in] Smart pointer to CPKIFBuffer object containing the hash value

Definition at line 111 of file HashValue.cpp.

const CPKIFBufferPtr CPKIFHashValue::GetValue (  )  const

Interface: External

This function is used to get the hash value

Returns:
Smart pointer to CPKIFBuffer object containing the hash value

Definition at line 124 of file HashValue.cpp.

void CPKIFHashValue::SetAlgID ( CPKIFAlgorithmIdentifierPtr &  algID  ) 

Interface: External

This function is used to set the algorithm identifier

Returns:
None
Parameters:
algID  [in] Smart pointer to CPKIFIlgorithmIdentifier object containing the algorithm identifier

Definition at line 136 of file HashValue.cpp.

const CPKIFAlgorithmIdentifierPtr CPKIFHashValue::GetAlgID (  )  const

Interface: External

This function is used to get the algorithm identifier

Returns:
Smart pointer to CPKIFIlgorithmIdentifier object containing the algorithm identifier

Definition at line 149 of file HashValue.cpp.


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

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