#include <TimestampAttribute.h>
TSP-enforcing: No
Definition at line 28 of file TimestampAttribute.h.
Public Member Functions | |
CPKIFTimestampAttribute () | |
CPKIFTimestampAttribute (const CPKIFBufferPtr &buf) | |
~CPKIFTimestampAttribute () | |
CPKIFOIDPtr | GetOID () const |
void | GetValues (CPKIFBufferList &values) const |
void | SetTimestamp (CPKIFContentInfoPtr &ts) |
CPKIFContentInfoPtr | GetTimestamp () const |
Static Public Attributes | |
static char | extOID [] = "1.2.840.113549.1.9.16.2.14" |
CPKIFTimestampAttribute::CPKIFTimestampAttribute | ( | ) |
Interface: External
Default constuctor
Definition at line 68 of file TimestampAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFTimestampAttribute::CPKIFTimestampAttribute | ( | const CPKIFBufferPtr & | buf | ) |
Interface: External
The parameterized version of the constructor is called from CPKIFTimestampAttributeFactory::create().
buf | [in] The value to parse into a timestamp attribute. |
Definition at line 99 of file TimestampAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFTimestampAttribute::~CPKIFTimestampAttribute | ( | ) |
Interface: External
Destroys a CPKIFTimestampAttribute object.
Definition at line 116 of file TimestampAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFOIDPtr CPKIFTimestampAttribute::GetOID | ( | ) | const [virtual] |
Interface: External
This function returns the OID associated with this type of CMS attribute.
Reimplemented from CPKIFAttribute.
Definition at line 134 of file TimestampAttribute.cpp.
References g_timestampAttribute.
void CPKIFTimestampAttribute::GetValues | ( | CPKIFBufferList & | values | ) | const [virtual] |
Interface: External
This function returns the raw, encoded time stamp attribute values.
values | [out] The list of values stored by the attribute. |
Reimplemented from CPKIFAttribute.
Definition at line 145 of file TimestampAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
void CPKIFTimestampAttribute::SetTimestamp | ( | CPKIFContentInfoPtr & | ts | ) |
Interface: External
This function is used to set the timestamp value conveyed by the attribute.
CPKIFMessageException(COMMON_INVALID_INPUT) |
ts | [in] The timestamp value to set |
Definition at line 171 of file TimestampAttribute.cpp.
References COMMON_INVALID_INPUT, LOG_STRING_DEBUG, TOOLKIT_MESSAGE, and TOOLKIT_MESSAGE_ASN.
CPKIFContentInfoPtr CPKIFTimestampAttribute::GetTimestamp | ( | ) | const |
Interface: External
This function is used to get the timestamp value conveyed by the attribute.
Definition at line 190 of file TimestampAttribute.cpp.
char CPKIFTimestampAttribute::extOID = "1.2.840.113549.1.9.16.2.14" [static] |
Definition at line 35 of file TimestampAttribute.h.
Referenced by CPKIFTimestampAttributeFactory::refOID().