#include <NameBasedSearch.h>
TSP-enforcing: No
Definition at line 25 of file NameBasedSearch.h.
Public Member Functions | |
CPKIFNameBasedSearch () | |
~CPKIFNameBasedSearch () | |
SearchType | GetSearchType () const |
void | SetSearchType (SearchType st) |
CPKIFNamePtr | GetName () const |
void | SetName (CPKIFNamePtr &name) |
void | SetStringName (char *s) |
const char * | GetStringName () const |
CPKIFNameBasedSearch::CPKIFNameBasedSearch | ( | ) |
Interface: External
This function creates and initializes CPKIFNameBasedSearch objects
Definition at line 32 of file NameBasedSearch.cpp.
References LOG_STRING_DEBUG, SUBJECTNAME, and TOOLKIT_SR_MISC.
CPKIFNameBasedSearch::~CPKIFNameBasedSearch | ( | ) |
Interface: External
This function destroys CPKIFNameBasedSearch objects
Definition at line 47 of file NameBasedSearch.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SR_MISC.
SearchType CPKIFNameBasedSearch::GetSearchType | ( | ) | const [virtual] |
Interface: External
This functions are used to get search type for CPKIFNameBasedSearch object
Implements IPKIFSearchCriteria.
Definition at line 61 of file NameBasedSearch.cpp.
void CPKIFNameBasedSearch::SetSearchType | ( | SearchType | st | ) |
Interface: External
This functions are used to set search type for CPKIFNameBasedSearch object
st | [in] SearchType parameter |
Definition at line 72 of file NameBasedSearch.cpp.
CPKIFNamePtr CPKIFNameBasedSearch::GetName | ( | ) | const |
Interface: External
This function is used to get the name used to perform a subject name-based search.
Definition at line 85 of file NameBasedSearch.cpp.
Referenced by CPKIFNSSRepository::FindCertificates(), SimpleRootStore::FindKeys(), and SimpleCertCache::FindKeys().
void CPKIFNameBasedSearch::SetName | ( | CPKIFNamePtr & | name | ) |
Interface: External
This function is used to set the name used to perform a subject name-based search.
name | [in] Pointer to a CPKIFName object containing the subject name value to use as search criteria |
Definition at line 96 of file NameBasedSearch.cpp.
void CPKIFNameBasedSearch::SetStringName | ( | char * | s | ) |
Interface: External
This function sets teh distinguished name to use as search criteria
s | [in] Pointer to a buffer containing a NULL-terminated string representation of the distinguished name to use as search criteria |
Definition at line 109 of file NameBasedSearch.cpp.
References GetPKIFNameFromStr().
const char * CPKIFNameBasedSearch::GetStringName | ( | ) | const |
Interface: External
The GetStringName function returns a pointer to a buffer containing a NULL-terminated string representation of a distinguished name if a name has been specified and NULL otherwise. If a pointer is returned, it is valid only for the life to the associated CPKIFNameBasedSearch object or until either SetName or SetNameString is invoked on the same CPKIFNamedBasedSearch object.
Definition at line 127 of file NameBasedSearch.cpp.
Referenced by CPKIFCAPIUserRepository2::FindCertificates(), CPKIFCAPITrustStore2::FindCertificates(), and CPKIFCAPIRepository2::FindCertificates().