#include <BinarySigningTimeAttribute.h>
TSP-enforcing: No
Definition at line 23 of file BinarySigningTimeAttribute.h.
Public Member Functions | |
CPKIFBinarySigningTimeAttribute () | |
CPKIFBinarySigningTimeAttribute (const CPKIFBufferPtr &buf) | |
~CPKIFBinarySigningTimeAttribute () | |
CPKIFOIDPtr | GetOID () const |
void | GetValues (CPKIFBufferList &values) const |
void | SetSigningTime (const char *time) |
const char * | GetSigningTime () |
Static Public Attributes | |
static char | extOID [] = "1.2.840.113549.1.9.16.2.46" |
CPKIFBinarySigningTimeAttribute::CPKIFBinarySigningTimeAttribute | ( | ) |
Interface: External
This constructor creates an instance of CPKIFBinarySigningTimeAttribute object. The constructor with no parameters creates a default instance.
Definition at line 70 of file BinarySigningTimeAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFBinarySigningTimeAttribute::CPKIFBinarySigningTimeAttribute | ( | const CPKIFBufferPtr & | buf | ) |
Interface: External
This constructor creates an instance of CPKIFBinarySigningTimeAttribute object.
buf | [in] The extension to parse into a content type attribute. |
Definition at line 84 of file BinarySigningTimeAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFBinarySigningTimeAttribute::~CPKIFBinarySigningTimeAttribute | ( | ) |
Interface: External
This function destroys a CPKIFBinarySigningTimeAttribute objects.
Definition at line 103 of file BinarySigningTimeAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFOIDPtr CPKIFBinarySigningTimeAttribute::GetOID | ( | ) | const [virtual] |
Interface: External
This function returns the OID associated with this type of CMS attribute.
Reimplemented from CPKIFAttribute.
Definition at line 121 of file BinarySigningTimeAttribute.cpp.
References g_binarySigningTimeAttribute.
void CPKIFBinarySigningTimeAttribute::GetValues | ( | CPKIFBufferList & | values | ) | const [virtual] |
Interface: External
This function returns the raw, encoded content type attribute value.
CPKIFException(ASN1_ENCODE_ERROR) |
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 134 of file BinarySigningTimeAttribute.cpp.
References CACASNWRAPPER_CREATE, LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
void CPKIFBinarySigningTimeAttribute::SetSigningTime | ( | const char * | time | ) |
Interface: External
Set the OID value indicating the content type.
CPKIFMessageException(COMMON_INVALID_INPUT) |
time | [in] Reference to a smart pointer to a CPKIFBuffer object containing the time value to set |
Definition at line 161 of file BinarySigningTimeAttribute.cpp.
References COMMON_INVALID_INPUT, LOG_STRING_DEBUG, TOOLKIT_MESSAGE, and TOOLKIT_MESSAGE_ASN.
const char * CPKIFBinarySigningTimeAttribute::GetSigningTime | ( | ) |
Interface: External
Get the OID value indicating the content type.
Definition at line 180 of file BinarySigningTimeAttribute.cpp.
char CPKIFBinarySigningTimeAttribute::extOID = "1.2.840.113549.1.9.16.2.46" [static] |
Definition at line 30 of file BinarySigningTimeAttribute.h.
Referenced by CPKIFBinarySigningTimeAttributeFactory::refOID().