CPKIFACReference Class Reference

#include <ACReference.h>

Collaboration diagram for CPKIFACReference:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFACReference class provides an interface to AC Reference. Currently there is no support for attribute certificates. This class treats an attribute certificate as an OpenType for decoding purposes.

TSP-enforcing: No

Definition at line 28 of file ACReference.h.


Public Member Functions

 CPKIFACReference ()
 CPKIFACReference (const CPKIFBufferPtr &pkcRef)
virtual ~CPKIFACReference (void)
void SetACCert (CPKIFBufferPtr &cert)
CPKIFBufferPtr GetACCert ()
void SetSCVPCertID (CPKIFSCVPCertIDPtr &sCVPCertID)
CPKIFSCVPCertIDPtr GetSCVPCertID ()

Constructor & Destructor Documentation

CPKIFACReference::CPKIFACReference (  ) 

Interface: External

This function is used to create and initialize CPKIFQuery object.

Returns:
None

Definition at line 37 of file ACReference.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.

CPKIFACReference::CPKIFACReference ( const CPKIFBufferPtr &  pkcRef  ) 

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

Definition at line 52 of file ACReference.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.

CPKIFACReference::~CPKIFACReference ( void   )  [virtual]

Interface: External

This function destroys instances of CPKIFACReference.

Returns:
None

Definition at line 101 of file ACReference.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFACReference::SetACCert ( CPKIFBufferPtr &  acCert  ) 

Interface: External

This function sets the certificate

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

Definition at line 116 of file ACReference.cpp.

CPKIFBufferPtr CPKIFACReference::GetACCert (  ) 

Interface: External

This function gets the certificate

Returns:
Smart pointer to CPKIFBuffer object containing the attribute certificate

Definition at line 129 of file ACReference.cpp.

void CPKIFACReference::SetSCVPCertID ( CPKIFSCVPCertIDPtr &  sCVPCertID  ) 

Interface: External

This function sets the SCVPCertID

Returns:
None
Parameters:
sCVPCertID  [in] Smart pointer to CPKIFSCVPCertID object containing SCVPCertID

Definition at line 140 of file ACReference.cpp.

CPKIFSCVPCertIDPtr CPKIFACReference::GetSCVPCertID (  ) 

Interface: External

This function gets the SCVPCertID

Returns:
Smart pointer to CPKIFSCVPCertID object containing SCVPCertID

Definition at line 153 of file ACReference.cpp.


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

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