#include <CountersignatureAttribute.h>
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" |
CPKIFCountersignatureAttribute::CPKIFCountersignatureAttribute | ( | ) |
Interface: External
This constructor creates a default instance of CPKIFCountersignatureAttribute object.
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()
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.
Definition at line 122 of file CountersignatureAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFOIDPtr CPKIFCountersignatureAttribute::GetOID | ( | ) | const [virtual] |
Interface: External
This function returns the OID associated with this type of CMS attribute.
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.
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
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.
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.
char CPKIFCountersignatureAttribute::extOID = "1.2.840.113549.1.9.6" [static] |
Definition at line 30 of file CountersignatureAttribute.h.
Referenced by CPKIFCountersignatureAttributeFactory::refOID().