#include <MessageDigestAttribute.h>
TSP-enforcing: No
Definition at line 25 of file MessageDigestAttribute.h.
Public Member Functions | |
CPKIFMessageDigestAttribute () | |
CPKIFMessageDigestAttribute (const CPKIFBufferPtr &buf) | |
~CPKIFMessageDigestAttribute () | |
CPKIFOIDPtr | GetOID () const |
void | GetValues (CPKIFBufferList &values) const |
void | SetMessageDigest (CPKIFBufferPtr &md) |
CPKIFBufferPtr | GetMessageDigest () |
Static Public Attributes | |
static char | extOID [] = "1.2.840.113549.1.9.4" |
CPKIFMessageDigestAttribute::CPKIFMessageDigestAttribute | ( | ) |
Interface: External
This constructor creates a default instance of CPKIFMessageDigestAttribute.
Definition at line 93 of file MessageDigestAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFMessageDigestAttribute::CPKIFMessageDigestAttribute | ( | const CPKIFBufferPtr & | buf | ) |
Interface: External
This constructor is called from CPKIFMessageDigestAttributeFactory::create().
CPKIFException(ASN1_DECODE_ERROR) | Interface: External |
CPKIFException(ASN1_DECODE_ERROR) |
buf | [in] The objective structure to parse into a message digest attribute. |
Definition at line 130 of file MessageDigestAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFMessageDigestAttribute::~CPKIFMessageDigestAttribute | ( | ) |
Interface: External
Destroys an instance of CPKIFMessageDigestAttribute object.
Definition at line 148 of file MessageDigestAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFOIDPtr CPKIFMessageDigestAttribute::GetOID | ( | ) | const [virtual] |
Interface: External
This function is used to get the OID associated with message digest attribute.
Reimplemented from CPKIFAttribute.
Definition at line 164 of file MessageDigestAttribute.cpp.
References g_messageDigestAttribute.
void CPKIFMessageDigestAttribute::GetValues | ( | CPKIFBufferList & | values | ) | const [virtual] |
Interface: External
This function returns the raw, encoded message digest attribute value.
CPKIFException(ASN1_ENCODE_ERROR) |
values | [out] The list of values stored by the attribute. |
Reimplemented from CPKIFAttribute.
Definition at line 177 of file MessageDigestAttribute.cpp.
References ASN1_ENCODE_ERROR, LOG_STRING_DEBUG, TOOLKIT_MESSAGE, and TOOLKIT_MESSAGE_ASN.
void CPKIFMessageDigestAttribute::SetMessageDigest | ( | CPKIFBufferPtr & | md | ) |
Interface: External
This function is used to set the message digest value associated with a Message Digest attribute.
CPKIFMessageException(COMMON_INVALID_INPUT) |
md | [in] The message digest to set. |
Definition at line 234 of file MessageDigestAttribute.cpp.
References COMMON_INVALID_INPUT, LOG_STRING_DEBUG, TOOLKIT_MESSAGE, and TOOLKIT_MESSAGE_ASN.
CPKIFBufferPtr CPKIFMessageDigestAttribute::GetMessageDigest | ( | ) |
Interface: External
This function is used to get the message digest value associated with a Message Digest attribute.
Definition at line 253 of file MessageDigestAttribute.cpp.
char CPKIFMessageDigestAttribute::extOID = "1.2.840.113549.1.9.4" [static] |
Definition at line 32 of file MessageDigestAttribute.h.
Referenced by CPKIFMessageDigestAttributeFactory::refOID().