#include <SingleResponse.h>
TSP-enforcing: No
Definition at line 31 of file SingleResponse.h.
Public Member Functions | |
CPKIFSingleResponse (void) | |
CPKIFSingleResponse (const CPKIFBufferPtr &singleResponse) | |
virtual | ~CPKIFSingleResponse (void) |
CPKIFCertIDPtr | GetCertID () const |
void | SetCertID (CPKIFCertIDPtr &ci) |
CPKIFOCSPCertStatusPtr | GetCertStatus () const |
void | SetCertStatus (CPKIFOCSPCertStatusPtr &cs) |
CPKIFTimePtr | GetThisUpdate () const |
void | SetThisUpdate (CPKIFTimePtr &str) |
CPKIFTimePtr | GetNextUpdate () const |
void | SetNextUpdate (CPKIFTimePtr &str) |
void | GetExtensionByOID (const CPKIFOID &oid, CPKIFX509ExtensionPtr &ref) |
void | GetEncodedExtensions (CPKIFBufferPtr &buf) |
bool | AreThereAnyUnprocessedCriticalExtensions (std::vector< CPKIFX509ExtensionPtr > &processedExts) |
CPKIFSingleResponse::CPKIFSingleResponse | ( | void | ) |
Interface: External
Default constructor
Definition at line 69 of file SingleResponse.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFSingleResponse::CPKIFSingleResponse | ( | const CPKIFBufferPtr & | singleResponse | ) |
Interface: External
This function is used to create and initialize CPKIFSingleResponse objects. It is used internally by PKIF when parsing OCSP objects. It is not used by applications.
singleResponse | [in] Reference to a buffer containing SingleResponse |
Definition at line 84 of file SingleResponse.cpp.
References CACASNWRAPPER_CREATE, CPKIFTime, LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFSingleResponse::~CPKIFSingleResponse | ( | void | ) | [virtual] |
Interface: External
This function destroys CPKIFSingleResponse objects.
Definition at line 142 of file SingleResponse.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFCertIDPtr CPKIFSingleResponse::GetCertID | ( | ) | const |
Interface: External
This function is used to get the CertID associated with a SingleResponse object.
Definition at line 213 of file SingleResponse.cpp.
void CPKIFSingleResponse::SetCertID | ( | CPKIFCertIDPtr & | ci | ) |
Interface: External
This function is used to set the CertID associated with a SingleResponse object.
ci | [in] Reference to a smart pointer to a CPKIFCertID object |
Definition at line 224 of file SingleResponse.cpp.
CPKIFOCSPCertStatusPtr CPKIFSingleResponse::GetCertStatus | ( | ) | const |
Interface: External
This function is used to get the CertStatus associated with a SingleResponse object.
Definition at line 239 of file SingleResponse.cpp.
void CPKIFSingleResponse::SetCertStatus | ( | CPKIFOCSPCertStatusPtr & | cs | ) |
Interface: External
This function is used to set the CertStatus associated with a SingleResponse object.
cs | [in] Reference to a smart pointer to a CPKIFOCSPCertStatus object |
Definition at line 250 of file SingleResponse.cpp.
CPKIFTimePtr CPKIFSingleResponse::GetThisUpdate | ( | ) | const |
Interface: External
This function is used to get the thisUpdate time associated with a SingleResponse object
Definition at line 265 of file SingleResponse.cpp.
void CPKIFSingleResponse::SetThisUpdate | ( | CPKIFTimePtr & | str | ) |
Interface: External
This function is used to set the thisUpdate time associated with a SingleResponse object
str | [in] Reference to a smart pointer to a CPKIFTime object containing the time for the thisUpdate field |
Definition at line 276 of file SingleResponse.cpp.
CPKIFTimePtr CPKIFSingleResponse::GetNextUpdate | ( | ) | const |
Interface: External
This function is used to get the nextUpdate time associated with a SingleResponse object.
Definition at line 291 of file SingleResponse.cpp.
void CPKIFSingleResponse::SetNextUpdate | ( | CPKIFTimePtr & | str | ) |
Interface: External
This function is used to set the nextUpdate time associated with a SingleResponse object.
str | [in] Reference to a smart pointer to a CPKIFTime object containing the time for the nextUpdate field |
Definition at line 302 of file SingleResponse.cpp.
void CPKIFSingleResponse::GetExtensionByOID | ( | const CPKIFOID & | oid, | |
CPKIFX509ExtensionPtr & | ref | |||
) | [virtual] |
Interface: External
This function is used to retrieve an extension from singleresponse object.
CPKIFException(COMMON_INVALID_INPUT) | ||
CPKIFException(COMMON_ALREADY_INITIALIZED) |
oid | [in] Identifies the extension sought |
ref | [out] The extension (if present). |
Implements IPKIFHasExtensions.
Definition at line 352 of file SingleResponse.cpp.
void CPKIFSingleResponse::GetEncodedExtensions | ( | CPKIFBufferPtr & | buf | ) | [virtual] |
Interface: External
This function returns a smart pointer to CPKIFBuffer object which will contain the encoded extension
buf | [out] A reference to a smart pointer to CPKIFBuffer object which will contain the encoded extension |
Implements IPKIFHasExtensions.
Definition at line 316 of file SingleResponse.cpp.
References CACASNWRAPPER_CREATE, and data.
bool CPKIFSingleResponse::AreThereAnyUnprocessedCriticalExtensions | ( | std::vector< CPKIFX509ExtensionPtr > & | processedExts | ) |
Interface: External
This function determines if a SingleResponse object holds any unprocessed critical extensions
processedExts | [in] Reference to a vector containing smart pointers to CPKIFX509Extension objects that have been processed in some application context |
Definition at line 183 of file SingleResponse.cpp.
References LOG_STRING_DEBUG, ExtensionsMatch::SetRHS(), and TOOLKIT_OCSP_ASN.