#include <SigningCertificateAttribute.h>
TSP-enforcing: No
Definition at line 32 of file SigningCertificateAttribute.h.
Public Member Functions | |
CPKIFSigningCertificateAttribute () | |
CPKIFSigningCertificateAttribute (const CPKIFBufferPtr &buf) | |
~CPKIFSigningCertificateAttribute () | |
CPKIFOIDPtr | GetOID () const |
void | GetValues (CPKIFBufferList &values) const |
CPKIFESSCertIdListPtr | GetCerts () const |
CPKIFPolicyInformationListPtr | GetPolicies () const |
void | SetCerts (CPKIFESSCertIdListPtr &certIDList) |
void | SetPolicies (CPKIFPolicyInformationListPtr &policyList) |
Static Public Attributes | |
static char | extOID [] = "1.2.840.113549.1.9.16.2.12" |
CPKIFSigningCertificateAttribute::CPKIFSigningCertificateAttribute | ( | ) |
Interface: External
Default constructor.
Definition at line 111 of file SigningCertificateAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFSigningCertificateAttribute::CPKIFSigningCertificateAttribute | ( | const CPKIFBufferPtr & | buf | ) |
Interface: External
This constructor is called from CPKIFSigningCertificateAttributeFactory::create().
buf | [in] The raw attribute to convert to a CPKIFSigningCertificateAttribute. |
Definition at line 124 of file SigningCertificateAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFSigningCertificateAttribute::~CPKIFSigningCertificateAttribute | ( | ) |
Interface: External
Destroys an instance of CPKIFSigningCertificateAttribute object.
Definition at line 141 of file SigningCertificateAttribute.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
CPKIFOIDPtr CPKIFSigningCertificateAttribute::GetOID | ( | ) | const [virtual] |
Interface: External
This function returns the OID associated with this type of CMS attribute.
Reimplemented from CPKIFAttribute.
Definition at line 157 of file SigningCertificateAttribute.cpp.
References g_signingCertificateAttribute.
void CPKIFSigningCertificateAttribute::GetValues | ( | CPKIFBufferList & | values | ) | const [virtual] |
Interface: External
This function returns the raw, encoded signing time attribute value.
values | [out] The list of values stored by the attribute. |
Reimplemented from CPKIFAttribute.
Definition at line 168 of file SigningCertificateAttribute.cpp.
References CACASNWRAPPER_CREATE, CopyGeneralName(), CPKIFASNWrapper< T >::Encode(), LOG_STRING_DEBUG, MSG_INCOMPLETE, NEW_NEXT_AND_ADVANCE, NEW_NODE, SET_HEAD_TAIL_INCREMENT, and TOOLKIT_MESSAGE_ASN.
CPKIFESSCertIdListPtr CPKIFSigningCertificateAttribute::GetCerts | ( | ) | const |
Interface: External
This function returns certificate id list
Definition at line 388 of file SigningCertificateAttribute.cpp.
CPKIFPolicyInformationListPtr CPKIFSigningCertificateAttribute::GetPolicies | ( | ) | const |
Interface: External
This function returns policy list
Definition at line 399 of file SigningCertificateAttribute.cpp.
void CPKIFSigningCertificateAttribute::SetCerts | ( | CPKIFESSCertIdListPtr & | certIDList | ) |
Interface: External
This function sets certificate id list
certIDList | [in] Cert id list |
Definition at line 410 of file SigningCertificateAttribute.cpp.
void CPKIFSigningCertificateAttribute::SetPolicies | ( | CPKIFPolicyInformationListPtr & | policyList | ) |
Interface: External
This function sets policy list
policyList | [in] Policy list |
Definition at line 423 of file SigningCertificateAttribute.cpp.
char CPKIFSigningCertificateAttribute::extOID = "1.2.840.113549.1.9.16.2.12" [static] |
Definition at line 39 of file SigningCertificateAttribute.h.
Referenced by CPKIFSigningCertificateAttributeFactory::refOID().