#include <RevInfoWantBack.h>
TSP-enforcing: No
Definition at line 32 of file RevInfoWantBack.h.
Public Member Functions | |
CPKIFRevInfoWantBack () | |
CPKIFRevInfoWantBack (const CPKIFBufferPtr &) | |
virtual | ~CPKIFRevInfoWantBack (void) |
void | SetRevInfos (CPKIFRevocationInfoListPtr &check) |
void | GetRevInfos (CPKIFRevocationInfoListPtr &check) const |
void | SetExtraCerts (CPKIFCertBundlePtr &certBundle) |
const CPKIFCertBundlePtr | GetExtraCerts () const |
CPKIFBufferPtr | Encode () |
CPKIFRevInfoWantBack::CPKIFRevInfoWantBack | ( | ) |
Interface: External
This function is used to create and initialize CPKIFRevInfoWantBack object.
Definition at line 44 of file RevInfoWantBack.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
CPKIFRevInfoWantBack::CPKIFRevInfoWantBack | ( | const CPKIFBufferPtr & | revInfoWantBack | ) |
Interface: External
This constructor is internally invoked; it will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the extension cannot be parsed.
std::bad_alloc |
revInfoWantBack | [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded ReplyWantBack |
Definition at line 59 of file RevInfoWantBack.cpp.
References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.
CPKIFRevInfoWantBack::~CPKIFRevInfoWantBack | ( | void | ) | [virtual] |
Interface: External
This function destroys instances of CPKIFRevInfoWantBack.
Definition at line 271 of file RevInfoWantBack.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
void CPKIFRevInfoWantBack::SetRevInfos | ( | CPKIFRevocationInfoListPtr & | revInfoList | ) |
Interface: External
This function is used to set rev infos list
revInfoList | [in] Smart pointer to CPKIFOID object |
Definition at line 286 of file RevInfoWantBack.cpp.
void CPKIFRevInfoWantBack::GetRevInfos | ( | CPKIFRevocationInfoListPtr & | revInfoList | ) | const |
Interface: External
This function is used to get rev infos list
revInfoList | [in/out] Smart pointer to CPKIFOID object |
Definition at line 299 of file RevInfoWantBack.cpp.
Referenced by GetRevInfos().
void CPKIFRevInfoWantBack::SetExtraCerts | ( | CPKIFCertBundlePtr & | bundle | ) |
Interface: External
This function is used to set the extra certs bundle
bundle | [in] Integer value representing want back value |
Definition at line 313 of file RevInfoWantBack.cpp.
const CPKIFCertBundlePtr CPKIFRevInfoWantBack::GetExtraCerts | ( | ) | const |
Interface: External
This function is used to get the exrta certs bundle
Definition at line 326 of file RevInfoWantBack.cpp.
CPKIFBufferPtr CPKIFRevInfoWantBack::Encode | ( | ) |
Interface: External
This function encodes RevInfoWantBack and returns an encoded buffer
Definition at line 113 of file RevInfoWantBack.cpp.
References CACASNWRAPPER_CREATE, ConvertStringToASN1OBJID(), CopyOID(), NEW_NEXT_AND_ADVANCE, NEW_NODE, and SET_HEAD_TAIL_INCREMENT.