CPKIFCountersignatureAttribute Class Reference

#include <CountersignatureAttribute.h>

Inheritance diagram for CPKIFCountersignatureAttribute:

Inheritance graph
[legend]
Collaboration diagram for CPKIFCountersignatureAttribute:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class provides an interface to countersignature attributes. Countersignature attributes are generated and verified using the Countersign and VerifyCounterSignatures functions.

TSP-enforcing: No

Definition at line 23 of file CountersignatureAttribute.h.


Public Member Functions

 CPKIFCountersignatureAttribute ()
 CPKIFCountersignatureAttribute (const CPKIFBufferPtr &ext)
 ~CPKIFCountersignatureAttribute ()
CPKIFOIDPtr GetOID () const
void GetValues (CPKIFBufferList &values) const
void AddValue (CPKIFBufferPtr &encodedSignerInfo)
void SetValues (CPKIFBufferList &blList)

Static Public Attributes

static char extOID [] = "1.2.840.113549.1.9.6"

Constructor & Destructor Documentation

CPKIFCountersignatureAttribute::CPKIFCountersignatureAttribute (  ) 

Interface: External

This constructor creates a default instance of CPKIFCountersignatureAttribute object.

Returns:
None

Definition at line 71 of file CountersignatureAttribute.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.

CPKIFCountersignatureAttribute::CPKIFCountersignatureAttribute ( const CPKIFBufferPtr &  buf  ) 

Interface: External

These constructor creates an instance of CPKIFCountersignatureAttribute object. Constructor with CACCMSAttribute parameter takes its content and creates an instance based on that content. This constructor is internally (applications should not call this constructor directly) used by CPKIFCountersignatureAttributeFactory::create()

Returns:
None Interface: External
These constructor creates an instance of CPKIFCountersignatureAttribute object. Constructor with CACCMSAttribute parameter takes its content and creates an instance based on that content. This constructor is internally (applications should not call this constructor directly) used by CPKIFCountersignatureAttributeFactory::create()

Returns:
None
Parameters:
buf  [in] Reference to a CACCMSAttribute structure containing the value(s) to parse

Definition at line 104 of file CountersignatureAttribute.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.

CPKIFCountersignatureAttribute::~CPKIFCountersignatureAttribute (  ) 

Interface: External

This function destroys an instance of CPKIFCountersignatureAttribute.

Returns:
None

Definition at line 122 of file CountersignatureAttribute.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.


Member Function Documentation

CPKIFOIDPtr CPKIFCountersignatureAttribute::GetOID (  )  const [virtual]

Interface: External

This function returns the OID associated with this type of CMS attribute.

Returns:
A smart pointer to CPKIFOID object

Reimplemented from CPKIFAttribute.

Definition at line 138 of file CountersignatureAttribute.cpp.

References g_countersignatureAttribute.

void CPKIFCountersignatureAttribute::GetValues ( CPKIFBufferList values  )  const [virtual]

Interface: External

This function can be used to get encoded attribute values.

Returns:
None
Parameters:
values  [out] Reference to a list of smart pointers to CPKIFBuffer objects containing the encoded values associated with the attribute

Reimplemented from CPKIFAttribute.

Definition at line 149 of file CountersignatureAttribute.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.

void CPKIFCountersignatureAttribute::AddValue ( CPKIFBufferPtr &  value  ) 

Interface: External

This function adds an encoded signer info to the attribute

Returns:
None
Parameters:
value  [in] A pointer to the encoded signer info to add to the attribute.

Reimplemented from CPKIFAttribute.

Definition at line 165 of file CountersignatureAttribute.cpp.

void CPKIFCountersignatureAttribute::SetValues ( CPKIFBufferList blList  ) 

Interface: External

This function can be used to set encoded attribute values.

Returns:
None
Parameters:
blList  [in] Reference to a list of smart pointers to CPKIFBuffer objects containing the encoded values to set

Definition at line 178 of file CountersignatureAttribute.cpp.


Member Data Documentation

char CPKIFCountersignatureAttribute::extOID = "1.2.840.113549.1.9.6" [static]


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

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