CPKIFCertReference Class Reference

#include <CertReference.h>

Collaboration diagram for CPKIFCertReference:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFCertReference class provides an interface to SCVP CertReference object.

TSP-enforcing: No

Definition at line 33 of file CertReference.h.


Public Member Functions

 CPKIFCertReference ()
 CPKIFCertReference (const CPKIFBufferPtr &)
virtual ~CPKIFCertReference (void)
void SetPKC (CPKIFPKCReferencePtr &pkc)
const CPKIFPKCReferencePtr GetPKC () const
void SetAC (CPKIFACReferencePtr &ac)
const CPKIFACReferencePtr GetAC () const
CERTREFERENCES GetCertRefType ()

Constructor & Destructor Documentation

CPKIFCertReference::CPKIFCertReference (  ) 

Interface: External

This function is used to create and initialize CPKIFCertReference object.

Returns:
None

Definition at line 43 of file CertReference.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.

CPKIFCertReference::CPKIFCertReference ( const CPKIFBufferPtr &  certRef  ) 

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

Definition at line 58 of file CertReference.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.

CPKIFCertReference::~CPKIFCertReference ( void   )  [virtual]

Interface: External

This function destroys instances of CPKIFCertReference.

Returns:
None

Definition at line 97 of file CertReference.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFCertReference::SetPKC ( CPKIFPKCReferencePtr &  pkc  ) 

Interface: External

This function is used to set pkc reference

Returns:
None
Parameters:
pkc  [in] Smart pointer to CPKIFPKCReferencePtr object containing pkc

Definition at line 140 of file CertReference.cpp.

const CPKIFPKCReferencePtr CPKIFCertReference::GetPKC (  )  const

Interface: External

This function is used to get pkc reference

Returns:
Smart pointer to CPKIFPKCReference object containing the pkc

Definition at line 156 of file CertReference.cpp.

void CPKIFCertReference::SetAC ( CPKIFACReferencePtr &  ac  ) 

Interface: External

This function is used to set attribute certificate value

Returns:
None
Parameters:
ac  [in] Smart pointer to CPKIFBuffer object containing the attribute certificate reference

Definition at line 112 of file CertReference.cpp.

const CPKIFACReferencePtr CPKIFCertReference::GetAC (  )  const

Interface: External

This function is used to get the hash value

Returns:
Smart pointer to CPKIFACReference object containing the attribute certificate reference

Definition at line 128 of file CertReference.cpp.

CERTREFERENCES CPKIFCertReference::GetCertRefType (  ) 

Interface: External

This function returns the type of certificate reference info stored in this class.

Returns:
REFERENCETYPE

Definition at line 168 of file CertReference.cpp.

References CERTREFERENCES_AC, CERTREFERENCES_NONE, and CERTREFERENCES_PKC.


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

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