CPKIFCertReferences Class Reference

#include <CertReferences.h>

Collaboration diagram for CPKIFCertReferences:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFCertReferences class provides an interface to SCVP CertReference object.

TSP-enforcing: No

Definition at line 33 of file CertReferences.h.


Public Member Functions

 CPKIFCertReferences ()
 CPKIFCertReferences (const CPKIFBufferPtr &)
virtual ~CPKIFCertReferences (void)
void SetPKCList (CPKIFPKCReferenceListPtr &pkcList)
void GetPKCList (CPKIFPKCReferenceListPtr &pkcList) const
void SetACList (CPKIFACReferenceListPtr &acList)
void GetACList (CPKIFACReferenceListPtr &acList) const
CERTTYPE GetCertType ()

Constructor & Destructor Documentation

CPKIFCertReferences::CPKIFCertReferences (  ) 

Interface: External

This function is used to create and initialize CPKIFCertReferences object.

Returns:
None

Definition at line 45 of file CertReferences.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.

CPKIFCertReferences::CPKIFCertReferences ( 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 60 of file CertReferences.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.

CPKIFCertReferences::~CPKIFCertReferences ( void   )  [virtual]

Interface: External

This function destroys instances of CPKIFCertReferences.

Returns:
None

Definition at line 124 of file CertReferences.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFCertReferences::SetPKCList ( CPKIFPKCReferenceListPtr &  pkc  ) 

Interface: External

This function is used to set pkc reference list

Returns:
None
Parameters:
pkc  [in] Smart pointer to CPKIFPKCReferenceList object containing pkc reference list

Definition at line 169 of file CertReferences.cpp.

void CPKIFCertReferences::GetPKCList ( CPKIFPKCReferenceListPtr &  pkc  )  const

Interface: External

This function is used to get pkc reference list

Returns:
None
Parameters:
pkc  [in] Smart pointer to CPKIFPKCReferenceList object containing pkc reference list

Definition at line 185 of file CertReferences.cpp.

void CPKIFCertReferences::SetACList ( CPKIFACReferenceListPtr &  acList  ) 

Interface: External

This function is used to set attribute certificate value

Returns:
None
Parameters:
acList  [in] Smart pointer to CPKIFACReferenceList object containing the attribute certificate reference list

Definition at line 139 of file CertReferences.cpp.

void CPKIFCertReferences::GetACList ( CPKIFACReferenceListPtr &  acList  )  const

Interface: External

This function is used to get the attribute certificate reference list

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

Definition at line 155 of file CertReferences.cpp.

CERTTYPE CPKIFCertReferences::GetCertType (  ) 

Interface: External

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

Returns:
REVINFOTYPE

Definition at line 199 of file CertReferences.cpp.

References AC, NONE, and 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