CPKIFReversiblePathBuilder Class Reference

#include <PKIFReversiblePathBuilder.h>

Inheritance diagram for CPKIFReversiblePathBuilder:

Inheritance graph
[legend]
Collaboration diagram for CPKIFReversiblePathBuilder:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFReversiblePathBuilder performs certification path building in the reverse direction, i.e., paths are constructed from a trust root to a target certificate using SubjectInformationAccess extensions, crossCertificatePair directory attributes and local certificate stores that support reverse building, and in the forward direction. The caller is responsible for preparing a CPKIFCertificatePath object containing the target certificate as well as for defining a mediator/colleague set that contains a trust anchor store and one or more certificate stores that support the selected path building direction.

TSP-enforcing: No

Definition at line 30 of file PKIFReversiblePathBuilder.h.


Public Member Functions

 CPKIFReversiblePathBuilder (PKIFENUMS::PathBuildingDirection pbd=PBD_REVERSE)
virtual ~CPKIFReversiblePathBuilder (void)
PathBuildingDirection GetDirection () const
void Initialize ()
bool BuildPath (CPKIFCertificatePath &path)

Friends

struct CPKIFReversiblePathBuilderImpl

Constructor & Destructor Documentation

CPKIFReversiblePathBuilder::CPKIFReversiblePathBuilder ( PKIFENUMS::PathBuildingDirection  pbd = PBD_REVERSE  ) 

Interface: External

This function creates an instance of CPKIFReversiblePathBuilder.

Returns:
None

Definition at line 1484 of file PKIFReversiblePathBuilder.cpp.

References LOG_STRING_DEBUG.

CPKIFReversiblePathBuilder::~CPKIFReversiblePathBuilder ( void   )  [virtual]

Interface: External

This function destroys an instance of CPKIFReversiblePathBuilder.

Returns:
None

Definition at line 1499 of file PKIFReversiblePathBuilder.cpp.


Member Function Documentation

PathBuildingDirection CPKIFReversiblePathBuilder::GetDirection (  )  const

Interface: Module

Returns the direction the builder instance is using, i.e., forward or reverse.

Returns:
PathBuildingDirection value

Definition at line 1612 of file PKIFReversiblePathBuilder.cpp.

void CPKIFReversiblePathBuilder::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 1515 of file PKIFReversiblePathBuilder.cpp.

References LOG_STRING_DEBUG.

bool CPKIFReversiblePathBuilder::BuildPath ( CPKIFCertificatePath path  )  [virtual]

Interface: External

Returns:
True if a path could be found and false otherwise
Exceptions:
CPKIFPathException(COMMON_INVALID_INPUT) 
CPKIFPathException(COMMON_MEDIATOR_MISSING) 
Parameters:
path  [in/out] Reference to a CPKIFCertificatePath object that contains information used to construct a path to the path builder and to return a developed path from the path builder to the calling application

Implements IPKIFPathBuild.

Definition at line 1530 of file PKIFReversiblePathBuilder.cpp.

References CPKIFCertificatePath::GetState(), CPKIFCertificatePath::GetTarget(), LOG_STRING_DEBUG, LOG_STRING_INFO, CPKIFCertificatePath::SetPath(), and CPKIFCertificatePath::SetTrustRoot().


Friends And Related Function Documentation

friend struct CPKIFReversiblePathBuilderImpl [friend]

Definition at line 32 of file PKIFReversiblePathBuilder.h.


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

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