CPKIFIssuerNameAndSerialNumberBasedSearch Class Reference

#include <IssuerNameAndSerialNumberBasedSearch.h>

Inheritance diagram for CPKIFIssuerNameAndSerialNumberBasedSearch:

Inheritance graph
[legend]
Collaboration diagram for CPKIFIssuerNameAndSerialNumberBasedSearch:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFIssuerNameAndSerialNumberBasedSearch class is used to request a list of all certificates that match the specified issuer name and serial number from objects implementing the IPKIFCertSearch interface. CPKIFIssuerNameAndSerialNumberBasedSearch implements the IPKIFSearchCriteria interface and returns ISSUERSERIAL from the GetSearchType function.

TSP-enforcing: No

Definition at line 26 of file IssuerNameAndSerialNumberBasedSearch.h.


Public Member Functions

 CPKIFIssuerNameAndSerialNumberBasedSearch ()
 ~CPKIFIssuerNameAndSerialNumberBasedSearch ()
SearchType GetSearchType () const
CPKIFNamePtr GetIssuerName () const
void SetIssuerName (CPKIFNamePtr &issuerName)
const char * GetSerialNumber () const
void SetSerialNumber (CPKIFStringPtr &serialNumber)

Constructor & Destructor Documentation

CPKIFIssuerNameAndSerialNumberBasedSearch::CPKIFIssuerNameAndSerialNumberBasedSearch (  ) 

Interface: External

This function creates and initializes CPKIFIssuerNameAndSerialNumberBasedSearch objects

Returns:
None

Definition at line 30 of file IssuerNameAndSerialNumberBasedSearch.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SR_MISC.

CPKIFIssuerNameAndSerialNumberBasedSearch::~CPKIFIssuerNameAndSerialNumberBasedSearch (  ) 

Interface: External

This function destroys CPKIFIssuerNameAndSerialNumberBasedSearch objects

Returns:
None

Definition at line 42 of file IssuerNameAndSerialNumberBasedSearch.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SR_MISC.


Member Function Documentation

SearchType CPKIFIssuerNameAndSerialNumberBasedSearch::GetSearchType (  )  const [virtual]

Interface: External

This function returns ISSUERSERIAL

Returns:
This function returns ISSUERSERIAL

Implements IPKIFSearchCriteria.

Definition at line 58 of file IssuerNameAndSerialNumberBasedSearch.cpp.

References ISSUERSERIAL.

CPKIFNamePtr CPKIFIssuerNameAndSerialNumberBasedSearch::GetIssuerName (  )  const

Interface: External

The GetIssuerName function returns a pointer to a CPKIFName object containing an issuer name value, or NULL if no issuer name value has been specified.

Returns:
pointer to a CPKIFName object containing an issuer name value

Definition at line 71 of file IssuerNameAndSerialNumberBasedSearch.cpp.

Referenced by CPKIFNSSRepository::FindCertificates(), CPKIFCAPIUserRepository2::FindCertificates(), CPKIFCAPITrustStore2::FindCertificates(), CPKIFCAPIRepository2::FindCertificates(), SimpleRootStore::FindKeys(), and SimpleCertCache::FindKeys().

void CPKIFIssuerNameAndSerialNumberBasedSearch::SetIssuerName ( CPKIFNamePtr &  issuerName  ) 

Interface: External

This function sets the issuer name value

Returns:
None
Parameters:
issuerName  [in] Pointer to a CPKIFName object containing an issuer name value

Definition at line 82 of file IssuerNameAndSerialNumberBasedSearch.cpp.

const char * CPKIFIssuerNameAndSerialNumberBasedSearch::GetSerialNumber (  )  const

Interface: External

This function is used to get the serial number used to perform an issuer name/serial number-based search

Returns:
The GetSerialNumber function returns a pointer to a string buffer containing a NULL terminated serial number value or NULL, if no serial number value has been specified. The pointer is valid for the life of the associated CPKIFIssuerNameAndSerialNumberBasedSearch or until SetSerialNumber is invoked.

Definition at line 95 of file IssuerNameAndSerialNumberBasedSearch.cpp.

Referenced by CPKIFNSSRepository::FindCertificates(), CPKIFCAPIUserRepository2::FindCertificates(), CPKIFCAPITrustStore2::FindCertificates(), CPKIFCAPIRepository2::FindCertificates(), SimpleRootStore::FindKeys(), and SimpleCertCache::FindKeys().

void CPKIFIssuerNameAndSerialNumberBasedSearch::SetSerialNumber ( CPKIFStringPtr serialNumber  ) 

Interface: External

This function is used toset the serial number used to perform an issuer name/serial number-based search

Returns:
None
Parameters:
serialNumber  [in] Pointer to a CPKIFString object containing a NULL terminated serial number value

Definition at line 109 of file IssuerNameAndSerialNumberBasedSearch.cpp.


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:20:21 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6