CPKIFBinarySigningTimeAttribute Class Reference

#include <BinarySigningTimeAttribute.h>

Inheritance diagram for CPKIFBinarySigningTimeAttribute:

Inheritance graph
[legend]
Collaboration diagram for CPKIFBinarySigningTimeAttribute:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class provides support for the CMS Binary Signing Time attribute.

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"

Constructor & Destructor Documentation

CPKIFBinarySigningTimeAttribute::CPKIFBinarySigningTimeAttribute (  ) 

Interface: External

This constructor creates an instance of CPKIFBinarySigningTimeAttribute object. The constructor with no parameters creates a default instance.

Returns:
None

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.

Returns:
None
Parameters:
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.

Returns:
None

Definition at line 103 of file BinarySigningTimeAttribute.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.


Member Function Documentation

CPKIFOIDPtr CPKIFBinarySigningTimeAttribute::GetOID (  )  const [virtual]

Interface: External

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

Returns:
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.

Returns:
Returns the raw, encoded content type attribute value
Exceptions:
CPKIFException(ASN1_ENCODE_ERROR) 
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 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.

Returns:
None
Exceptions:
CPKIFMessageException(COMMON_INVALID_INPUT) 
Parameters:
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.

Returns:
A smart pointer to CPKIFOID object

Definition at line 180 of file BinarySigningTimeAttribute.cpp.


Member Data Documentation

char CPKIFBinarySigningTimeAttribute::extOID = "1.2.840.113549.1.9.16.2.46" [static]


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

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