CPKIFPathBuildAndValidate Class Reference

#include <PKIFPathBuildAndValidate.h>

Inheritance diagram for CPKIFPathBuildAndValidate:

Inheritance graph
[legend]
Collaboration diagram for CPKIFPathBuildAndValidate:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFPathBuildAndValidate class is a convenience class that implements iterative invocation of the functionality provided by the CPKIFPathBuilder2 and CPKIFPathValidator2 classes. It’s primary purpose is to serve as a placeholder for the IPKIFPathBuildAndValidate interface, which may ultimately implemented using the Simple Certificate Validation Protocol (SCVP).

TSP-enforcing: No

Definition at line 28 of file PKIFPathBuildAndValidate.h.


Public Member Functions

 CPKIFPathBuildAndValidate (void)
virtual ~CPKIFPathBuildAndValidate (void)
void Initialize ()
virtual bool BuildAndValidatePath (CPKIFCertificatePath &path, CPKIFPathValidationResults &results)

Constructor & Destructor Documentation

CPKIFPathBuildAndValidate::CPKIFPathBuildAndValidate ( void   ) 

Interface: External

This function creates and initializes CPKIFPathBuildAndValidate objects.

Returns:
None

Definition at line 32 of file PKIFPathBuildAndValidate.cpp.

CPKIFPathBuildAndValidate::~CPKIFPathBuildAndValidate ( void   )  [virtual]

Interface: External

This function destroys CPKIFPathBuildAndValidate objects.

Returns:
None

Definition at line 42 of file PKIFPathBuildAndValidate.cpp.


Member Function Documentation

void CPKIFPathBuildAndValidate::Initialize ( void   )  [virtual]

Interface: External

This function initializes an instance for use in a collection of colleagues held by a mediator object.

Returns:
None

Reimplemented from IPKIFColleague.

Definition at line 52 of file PKIFPathBuildAndValidate.cpp.

bool CPKIFPathBuildAndValidate::BuildAndValidatePath ( CPKIFCertificatePath path,
CPKIFPathValidationResults results 
) [virtual]

Interface: External

This function implements iterative invocation of the IPKIFPathBuild and IPKIFPathValidate functionality provided by the CPKIFPathBuilder2 and CPKIFPathValidator2 classes.

Returns:
Iteratively invokes BuildPath and ValidatePath until either a the status of the certificate can be determined, e.g. either completely successful or revoked, or until no paths can be found
Parameters:
path  [in/out] Reference to a CPKIFCertificatePath object containing, minimally, the target certificate when the function is called and the completed path, if path processing was successfully, upon return
results  [out] Reference to a CPKIFPathValidationResults object used to return the results of a path validation operation

Implements IPKIFPathBuildAndValidate.

Definition at line 95 of file PKIFPathBuildAndValidate.cpp.

References IPKIFPathBuild::BuildPath(), CPKIFPathValidationResults::GetCertSignaturesVerified(), CPKIFCertificatePath::GetPathSettings(), CPKIFPathValidationResults::GetRevocationStatusMostSevere(), keyUsageChecker_Any(), and NOT_REVOKED.


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

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