#include <ResponderID.h>
TSP-enforcing: No
Definition at line 26 of file ResponderID.h.
Public Types | |
enum | ResponderIDType { NAME, KEYHASH, UNSET } |
Public Member Functions | |
CPKIFResponderID (void) | |
CPKIFResponderID (const CPKIFBufferPtr &rid) | |
~CPKIFResponderID (void) | |
ResponderIDType | GetChoice () const |
CPKIFNamePtr | GetName () const |
void | SetName (CPKIFNamePtr &name) |
CPKIFBufferPtr | GetHash () const |
void | SetHash (CPKIFBufferPtr &hash) |
CPKIFResponderID::CPKIFResponderID | ( | void | ) |
Interface: External
Default constructor
Definition at line 37 of file ResponderID.cpp.
References LOG_STRING_DEBUG, TOOLKIT_OCSP_ASN, and UNSET.
CPKIFResponderID::CPKIFResponderID | ( | const CPKIFBufferPtr & | rid | ) |
Interface: External
Theis function is used to create and initialize CPKIFResponderID objects. This constructor takes a ResponderID parameter is used internally by PKIF when parsing OCSP objects. It is not used by applications
rid | [in] Reference to a ResponderID structure |
Definition at line 79 of file ResponderID.cpp.
References CACASNWRAPPER_CREATE, KEYHASH, LOG_STRING_DEBUG, NAME, TOOLKIT_OCSP_ASN, and UNSET.
CPKIFResponderID::~CPKIFResponderID | ( | void | ) |
Interface: External
This function destroys CPKIFResponderID objects.
Definition at line 125 of file ResponderID.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFResponderID::ResponderIDType CPKIFResponderID::GetChoice | ( | ) | const |
Interface: External
This function returns an enumerated value indicating the type of responder ID contained in a ResponderID object, e.g. name, key hash or unset.
enum ResponderIDType { NAME, KEYHASH, UNSET };
Definition at line 150 of file ResponderID.cpp.
CPKIFNamePtr CPKIFResponderID::GetName | ( | ) | const |
Interface: External
This function is used to get the name associated with a ResponderID object.
Definition at line 164 of file ResponderID.cpp.
void CPKIFResponderID::SetName | ( | CPKIFNamePtr & | name | ) |
Interface: External
This function is used to set the name associated with a ResponderID object.
name | [in] Reference to a smart pointer to a CPKIFName object containing the name value to associate with a CPKIFResponderID instance |
Definition at line 176 of file ResponderID.cpp.
CPKIFBufferPtr CPKIFResponderID::GetHash | ( | ) | const |
Interface: External
This function is used to get the hash value associated with a ResponderID object.
Definition at line 192 of file ResponderID.cpp.
void CPKIFResponderID::SetHash | ( | CPKIFBufferPtr & | hash | ) |
Interface: External
This function is used to set the hash value associated with a ResponderID object.
hash | [in] Reference to a smart pointer to a CPKIFBuffer object containing a SHA1 hash of an OCSP responder’s public key |
Definition at line 203 of file ResponderID.cpp.