#include <IssuerAndSerialNumber.h>

TSP-enforcing: No
Definition at line 26 of file IssuerAndSerialNumber.h.
Public Member Functions | |
| CPKIFIssuerAndSerialNumber () | |
| CPKIFIssuerAndSerialNumber (const CPKIFBufferPtr &isnBuf) | |
| virtual | ~CPKIFIssuerAndSerialNumber () |
| void | SetName (CPKIFNamePtr &name) |
| CPKIFNamePtr | GetName () const |
| void | SetSerialNumber (CPKIFStringPtr &serialNumber) |
| const char * | GetSerialNumber () const |
| CPKIFIssuerAndSerialNumber::CPKIFIssuerAndSerialNumber | ( | ) |
Interface: External
Default constructor
Definition at line 36 of file IssuerAndSerialNumber.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
| CPKIFIssuerAndSerialNumber::CPKIFIssuerAndSerialNumber | ( | const CPKIFBufferPtr & | isnBuf | ) |
Interface: External
This constructor is invoked when parsing a CMS message; it will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the name form cannot be parsed.
| std:bad_alloc | thrown if memory allocation fails. | |
| CPKIFException | thrown if any ASN.1 encoding or decoding errors occur. |
| isnBuf | Reference to a CACCMSIssuerAndSerialNumber structure containing information used to populate an instance of CPKIFIssuerAndSerialNumber |
Definition at line 75 of file IssuerAndSerialNumber.cpp.
References CACASNWRAPPER_CREATE, LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
| CPKIFIssuerAndSerialNumber::~CPKIFIssuerAndSerialNumber | ( | ) | [virtual] |
Interface: External
This function destroys an instance of CPKIFIssuerAndSerialNumber.
Definition at line 114 of file IssuerAndSerialNumber.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
| void CPKIFIssuerAndSerialNumber::SetName | ( | CPKIFNamePtr & | name | ) |
Interface: External
This function is used to set the distinguished name identifying the issuing CA.
| CPKIFMessageException(COMMON_INVALID_INPUT) |
| name | [in] Reference to a smart pointer to a CPKIFName object containing the name to associate with an instance of CPKIFIssuerAndSerialNumber |
Definition at line 130 of file IssuerAndSerialNumber.cpp.
References COMMON_INVALID_INPUT, LOG_STRING_DEBUG, TOOLKIT_MESSAGE, and TOOLKIT_MESSAGE_ASN.
| CPKIFNamePtr CPKIFIssuerAndSerialNumber::GetName | ( | ) | const |
Interface: External
This function is used to get the distinguished name identifying the issuing CA.
Definition at line 150 of file IssuerAndSerialNumber.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
| void CPKIFIssuerAndSerialNumber::SetSerialNumber | ( | CPKIFStringPtr & | serialNumber | ) |
Interface: External
This function is used to set the serial number identifying the desired subject’s certificate.
| CPKIFMessageException(COMMON_INVALID_INPUT) |
| serialNumber | [in] Reference to a smart pointer to a CPKIFString object containing the serial number to set |
Definition at line 164 of file IssuerAndSerialNumber.cpp.
References COMMON_INVALID_INPUT, LOG_STRING_DEBUG, TOOLKIT_MESSAGE, and TOOLKIT_MESSAGE_ASN.
| const char * CPKIFIssuerAndSerialNumber::GetSerialNumber | ( | ) | const |
Interface: External
This function is used to get the serial number identifying the desired subject’s certificate.
Definition at line 183 of file IssuerAndSerialNumber.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_MESSAGE_ASN.
1.5.6