NodeNotInNodeListAndNotIgnoredAndIssuedBy.cpp File Reference


Detailed Description

Subsystem: Certification Path Processing (PKIFPATH)

Module: NodeNotInNodeListAndNotIgnoredAndIssuedBy

Id
NodeNotInNodeListAndNotIgnoredAndIssuedBy.cpp 10589 2009-09-25 12:21:45Z cwallace

Definition in file NodeNotInNodeListAndNotIgnoredAndIssuedBy.cpp.

#include "NodeNotInNodeListAndNotIgnoredAndIssuedBy.h"
#include "Certificate.h"
#include "PKIFCertificateNodeEntry.h"
#include "PKIFPathSettings.h"
#include "Name.h"
#include "IPKIFNameAndKey.h"
#include "PKIFNameAndKeyWithScore.h"

Include dependency graph for NodeNotInNodeListAndNotIgnoredAndIssuedBy.cpp:

Go to the source code of this file.

Functions

bool CheckPolicies (CPKIFCertificatePtr &subjectCert, CPKIFCertificatePtr &issuerCert, CPKIFPathSettingsPtr &settings)
bool CheckKIDsAndSignatures (CPKIFCertificatePtr &subjectCert, CPKIFCertificatePtr &issuerCert)


Function Documentation

bool CheckKIDsAndSignatures ( CPKIFCertificatePtr &  subjectCert,
CPKIFCertificatePtr &  issuerCert 
)

Interface: Subsystem

This is a helper function that checks key identifiers and signatures

Return values:
True if key ids match or signature is verified
False if signature verification failed
Parameters:
subjectCert  [in] Subject certificate
issuerCert  [in] Issuer certificate

Definition at line 106 of file BuilderUtils.cpp.

References GetPlatformCryptoRaw(), KeyIDsMatch(), and IPKIFCryptoRawOperations::VerifyCertificate().

bool CheckPolicies ( CPKIFCertificatePtr &  subjectCert,
CPKIFCertificatePtr &  issuerCert,
CPKIFPathSettingsPtr &  settings 
)

Interface: Subsystem

This is a helper function that checks policies on subject and issuer certificates

Returns:
True if there is no intersection, false otherwise
Parameters:
subjectCert  [in] Subject certificate
issuerCert  [in] Issuer certificate
settings  [in] Reference to a smart pointer to a CPKIFPathSettings object containing the path processing settings to use when checking policies

Definition at line 58 of file BuilderUtils.cpp.

References g_anyPolicy, and SomeMatch().


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