CPKIFRecipientInfo Class Reference

#include <RecipientInfo.h>

Collaboration diagram for CPKIFRecipientInfo:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFRecipientInfo class provides an interface to CMS RecipientInfo objects.

TSP-enforcing: No

Definition at line 24 of file RecipientInfo.h.


Public Member Functions

 CPKIFRecipientInfo ()
 CPKIFRecipientInfo (const CPKIFBufferPtr &riBuf)
virtual ~CPKIFRecipientInfo ()
CPKIFKeyTransRecipientInfoPtr GetKeyTransRecipInfo () const
CPKIFKEKRecipInfoDetailsPtr GetKEKRecipInfo () const

Constructor & Destructor Documentation

CPKIFRecipientInfo::CPKIFRecipientInfo (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 35 of file RecipientInfo.cpp.

CPKIFRecipientInfo::CPKIFRecipientInfo ( const CPKIFBufferPtr &  riBuf  ) 

Interface: External

constructor populates an internal CPKIFKeyTransRecipientInfo or CPKIFKEKRecipInfoDetails member variable based on the contents of the CACCMSRecipientInfo structure. The second constructor is used internally when parsing CMS messages.

Returns:
None
Exceptions:
CPKIFMessageException(COMMON_NOT_IMPLEMENTED) 
Parameters:
riBuf  [in] The value to parse into a recipient info.

Definition at line 51 of file RecipientInfo.cpp.

References CACASNWRAPPER_CREATE, COMMON_NOT_IMPLEMENTED, data, and TOOLKIT_MESSAGE_ASN.

CPKIFRecipientInfo::~CPKIFRecipientInfo (  )  [virtual]

Interface: External

constructor populates an internal CPKIFKeyTransRecipientInfo or CPKIFKEKRecipInfoDetails member variable based on the contents of the CACCMSRecipientInfo structure. The second constructor is used internally when parsing CMS messages.

Returns:
None
Exceptions:
CPKIFMessageException(COMMON_NOT_IMPLEMENTED) Interface: External
Destroys an instance of CPKIFRecipientInfo object.

Returns:
None

Definition at line 130 of file RecipientInfo.cpp.


Member Function Documentation

CPKIFKeyTransRecipientInfoPtr CPKIFRecipientInfo::GetKeyTransRecipInfo (  )  const

Interface: External

This function returns the KeyTransRecipInfo object associated with the RecipientInfo object. PKIF currently only supports the key transports type (ktri and kekri) of recipient info. At this time PKIF does not support key agreement type of recipient info.

Returns:
KeyTransRecipInfo object associated with the RecipientInfo object

Definition at line 144 of file RecipientInfo.cpp.

CPKIFKEKRecipInfoDetailsPtr CPKIFRecipientInfo::GetKEKRecipInfo (  )  const

Interface: External

Returns the KEKRecipInfoDetail object associated with the RecipientInfo object. PKIF does not currently support this type of RecipientInfo.

Returns:
KEKRecipInfoDetail object associated with the RecipientInfo object.

Definition at line 156 of file RecipientInfo.cpp.


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

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