BuilderUtils.h File Reference


Detailed Description

Subsystem: Certification Path Processing (PKIFPATH)

Module: NodeInNodeList

Id
BuilderUtils.h 9418 2009-02-11 01:41:41Z cwallace

Definition in file BuilderUtils.h.

#include "PKIFdll.h"
#include "IPKIFTrustAnchor.h"
#include <vector>

Include dependency graph for BuilderUtils.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 FD_NODE_LIST_PTR (CPKIFCertificateNodeEntry)
 FD_SMART_PTR (CPKIFTrustRoot)
 FD_SMART_PTR (CPKIFPathSettings)
 FD_SMART_PTR (CPKIFName)
 FD_SMART_PTR (CPKIFCertificateNodeListWithSourceInfo)
 FD_SMART_PTR (CPKIFCertificate)
 FD_LIST_PTR (CPKIFNameAndKeyWithScore)
bool PathOK (CPKIFCertificateNodeList &builtPath, IPKIFTrustAnchorPtr &curRoot, CPKIFPathSettingsPtr &settings, CPKIFPathValidationResults &tmpResults)
void IgnoreNotIssuedBy (CPKIFCertificateNodeListWithSourceInfoPtr &pos, CPKIFNamePtr &issuerName)
void ClearAllIgnore (CPKIFCertificateNodeListWithSourceInfoPtr &tablePos)
void RemoveAllIssuedBy (CPKIFCertificateNodeListWithSourceInfoPtr &pos, CPKIFNamePtr &prevName)
void RemoveAllIssuedBy (CPKIFNameAndKeyWithScoreListPtr &pos, CPKIFNamePtr &prevName)
void RemoveAllIssuedTo (CPKIFNameAndKeyWithScoreListPtr &pos, CPKIFNamePtr &prevName)
bool SetNextToIgnore (CPKIFCertificateNodeListWithSourceInfoPtr &tablePos)
void IgnoreNotIssuedBy (CPKIFNameAndKeyWithScoreListPtr &pos, CPKIFNamePtr &issuerName)
void ClearAllIgnore (CPKIFNameAndKeyWithScoreListPtr &tablePos)
bool SetNextToIgnore (CPKIFNameAndKeyWithScoreListPtr &tablePos)
CPKIFCertificateNodeEntryPtr GetFirstNonIgnoredNodeNotAlreadyInPathIssuedBy (CPKIFCertificateNodeListWithSourceInfoPtr &pos, CPKIFCertificateNodeList &builtPath, IPKIFNameAndKey *issuer, CPKIFPathSettingsPtr &settings)
CPKIFNameAndKeyWithScorePtr GetFirstNonIgnoredNodeNotAlreadyInPathIssuedBy (CPKIFNameAndKeyWithScoreListPtr &pos, CPKIFNameAndKeyWithScoreList &builtPath, IPKIFNameAndKeyPtr &issuer, CPKIFPathSettingsPtr &settings)
void DumpTable (std::vector< CPKIFCertificateNodeListWithSourceInfoPtr > &table, const char *str)


Function Documentation

void ClearAllIgnore ( CPKIFNameAndKeyWithScoreListPtr &  tablePos  ) 

Interface: Subsystem

This function walks a cert node list and clears the ignore flag on each entry.

Returns:
None
Parameters:
tablePos  [in] The certificate node list to clear.

Definition at line 156 of file BuilderUtils.cpp.

void ClearAllIgnore ( CPKIFCertificateNodeListWithSourceInfoPtr &  tablePos  ) 

Interface: Subsystem

This function walks a cert node list and clears the ignore flag on each entry.

Returns:
None
Parameters:
tablePos  [in] The certificate node list to clear.

Definition at line 140 of file BuilderUtils.cpp.

void DumpTable ( vector< CPKIFCertificateNodeListWithSourceInfoPtr > &  table,
const char *  title 
)

Interface: External

This function outputs the path building table

Returns:
None
Parameters:
table  [in] A vector of certificate nodes

Definition at line 473 of file BuilderUtils.cpp.

References g_pathTableLogFile, and CPKIFException::print().

FD_LIST_PTR ( CPKIFNameAndKeyWithScore   ) 

FD_NODE_LIST_PTR ( CPKIFCertificateNodeEntry   ) 

FD_SMART_PTR ( CPKIFCertificate   ) 

FD_SMART_PTR ( CPKIFName   ) 

FD_SMART_PTR ( CPKIFPathSettings   ) 

FD_SMART_PTR ( CPKIFTrustRoot   ) 

CPKIFNameAndKeyWithScorePtr GetFirstNonIgnoredNodeNotAlreadyInPathIssuedBy ( CPKIFNameAndKeyWithScoreListPtr &  pos,
CPKIFNameAndKeyWithScoreList builtPath,
IPKIFNameAndKeyPtr &  issuer,
CPKIFPathSettingsPtr &  settings 
)

CPKIFCertificateNodeEntryPtr GetFirstNonIgnoredNodeNotAlreadyInPathIssuedBy ( CPKIFCertificateNodeListWithSourceInfoPtr &  pos,
CPKIFCertificateNodeList builtPath,
IPKIFNameAndKey issuer,
CPKIFPathSettingsPtr &  settings 
)

void IgnoreNotIssuedBy ( CPKIFNameAndKeyWithScoreListPtr &  pos,
CPKIFNamePtr &  issuerName 
)

Interface: Subsystem

This function removes all nodes from the node list that were not issued by prevName

Returns:
None
Parameters:
pos  [in] The name and key node list
issuerName  [in] A reference to a smart pointer to CPKIFName object that contains the name of the issuer

Definition at line 328 of file BuilderUtils.cpp.

References IgnoreNotIssuedByOp::SetRHS().

void IgnoreNotIssuedBy ( CPKIFCertificateNodeListWithSourceInfoPtr &  pos,
CPKIFNamePtr &  issuerName 
)

Interface: Subsystem

This function removes all nodes from the node list that were not issued by prevName

Returns:
None
Parameters:
pos  [in] The certificate node list
issuerName  [in] A reference to a smart pointer to CPKIFName object that contains the name of the issuer

Definition at line 311 of file BuilderUtils.cpp.

References IgnoreNotIssuedByOp::SetRHS().

bool PathOK ( CPKIFCertificateNodeList builtPath,
IPKIFTrustAnchorPtr &  curRoot,
CPKIFPathSettingsPtr &  settings,
CPKIFPathValidationResults tmpResults 
)

void RemoveAllIssuedBy ( CPKIFNameAndKeyWithScoreListPtr &  pos,
CPKIFNamePtr &  prevName 
)

Interface: Subsystem

This function removes all nodes from the node list that are issued by prevName

Returns:
None
Parameters:
pos  [in] The certificate node list
prevName  [in] A reference to a smart pointer to CPKIFName object that contains the name of the issuer

Definition at line 270 of file BuilderUtils.cpp.

References IssuedByNameAndKey::SetRHS().

void RemoveAllIssuedBy ( CPKIFCertificateNodeListWithSourceInfoPtr &  pos,
CPKIFNamePtr &  prevName 
)

Interface: Subsystem

This function removes all nodes from the node list that are issued by prevName

Returns:
None
Parameters:
pos  [in] The certificate node list
prevName  [in] A reference to a smart pointer to CPKIFName object that contains the name of the issuer

Definition at line 250 of file BuilderUtils.cpp.

References IssuedBy::SetRHS().

void RemoveAllIssuedTo ( CPKIFNameAndKeyWithScoreListPtr &  pos,
CPKIFNamePtr &  prevName 
)

Interface: Subsystem

This function removes all nodes from the node list that are issued by prevName

Returns:
None
Parameters:
pos  [in] The certificate node list
prevName  [in] A reference to a smart pointer to CPKIFName object that contains the name of the issuer

Definition at line 290 of file BuilderUtils.cpp.

References IssuedTo::SetRHS().

bool SetNextToIgnore ( CPKIFNameAndKeyWithScoreListPtr &  tablePos  ) 

Interface: Subsystem

This function sets the first non-ignored node to ignored

Returns:
Boolean value
Parameters:
tablePos  [in] The certificate node list

Definition at line 219 of file BuilderUtils.cpp.

bool SetNextToIgnore ( CPKIFCertificateNodeListWithSourceInfoPtr &  tablePos  ) 

Interface: Subsystem

This function sets the first non-ignored node to ignored

Returns:
Boolean value
Parameters:
tablePos  [in] The certificate node list

Definition at line 188 of file BuilderUtils.cpp.


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