CPKIFPKCReference Class Reference

#include <PKCReference.h>

Collaboration diagram for CPKIFPKCReference:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFPKCReference class provides an interface to PKC Reference

TSP-enforcing: No

Definition at line 28 of file PKCReference.h.


Public Member Functions

 CPKIFPKCReference ()
 CPKIFPKCReference (const CPKIFBufferPtr &pkcRef)
virtual ~CPKIFPKCReference (void)
void SetCert (CPKIFCertificatePtr &cert)
CPKIFCertificatePtr GetCert ()
void SetSCVPCertID (CPKIFSCVPCertIDPtr &sCVPCertID)
CPKIFSCVPCertIDPtr GetSCVPCertID ()
REFERENCETYPE GetRefType ()

Constructor & Destructor Documentation

CPKIFPKCReference::CPKIFPKCReference (  ) 

Interface: External

This function is used to create and initialize CPKIFQuery object.

Returns:
None

Definition at line 45 of file PKCReference.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.

CPKIFPKCReference::CPKIFPKCReference ( 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 60 of file PKCReference.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.

CPKIFPKCReference::~CPKIFPKCReference ( void   )  [virtual]

Interface: External

This function destroys instances of CPKIFPKCReference.

Returns:
None

Definition at line 109 of file PKCReference.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFPKCReference::SetCert ( CPKIFCertificatePtr &  cert  ) 

Interface: External

This function sets the certificate

Returns:
None
Parameters:
cert  [in] Smart pointer to CPKIFCertificate object containing the certificate

Definition at line 124 of file PKCReference.cpp.

CPKIFCertificatePtr CPKIFPKCReference::GetCert (  ) 

Interface: External

This function gets the certificate

Returns:
Smart pointer to CPKIFCertificate object containing the certificate

Definition at line 142 of file PKCReference.cpp.

void CPKIFPKCReference::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 153 of file PKCReference.cpp.

CPKIFSCVPCertIDPtr CPKIFPKCReference::GetSCVPCertID (  ) 

Interface: External

This function gets the SCVPCertID

Returns:
Smart pointer to CPKIFSCVPCertID object containing SCVPCertID

Definition at line 169 of file PKCReference.cpp.

REFERENCETYPE CPKIFPKCReference::GetRefType (  ) 

Interface: External

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

Returns:
REFERENCETYPE

Definition at line 181 of file PKCReference.cpp.

References REFERENCETYPE_CERT, REFERENCETYPE_NONE, and REFERENCETYPE_PKCREF.


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

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