CACPathBasicChecks2.cpp File Reference


Detailed Description

Subsystem: Certification Path Processing (PKIFPATH)

Module: CPKIFPathBasicChecks2

Id
CACPathBasicChecks2.cpp 11027 2009-12-03 17:16:09Z cwallace

Definition in file CACPathBasicChecks2.cpp.

#include "PKIFPathBasicChecks2.h"
#include "ToolkitUtils.h"
#include "BasicChecksUtils.h"
#include "PKIFErrors.h"
#include "PKIFCertificatePath.h"
#include "PKIFTrustRoot.h"
#include "PKIFCertStatus.h"
#include "PKIFCertificateNodeEntry.h"
#include "PKIFTime.h"
#include "PolicyInformation.h"
#include "OID.h"
#include "PKIFPathSettings.h"
#include "PathResults.h"
#include "GeneralSubtree.h"
#include "Certificate.h"
#include "SubjectPublicKeyInfo.h"
#include "Validity.h"
#include "PolicyInformationSet.h"
#include "Name.h"
#include "PolicyConstraints.h"
#include "BasicConstraints.h"
#include "KeyUsage.h"
#include "NameConstraints.h"
#include "InhibitAnyPolicy.h"
#include "PKIFFuncStorage.h"
#include "SubjectAltName.h"
#include "X509Extension.h"
#include "PolicyMappings.h"
#include <cstring>

Include dependency graph for CACPathBasicChecks2.cpp:

Go to the source code of this file.

Defines

#define ERROR_OVERRIDE(errCode)


Define Documentation

#define ERROR_OVERRIDE ( errCode   ) 

Value:

{ \
    bool override = false;\
    bool (*fp) (int, CPKIFCertificatePtr&,const CPKIFCertificatePath&) = settings->GetOverrideCallback(); \
    if(NULL != fp) \
    { \
        if(fp(errCode, curCert, path))\
            override = true; \
    } \
    if(!override) \
    {\
        CPKIFCertStatusPtr status(new CPKIFCertStatus); \
        status->SetDiagnosticCode(errCode); \
        (*pos)->SetStatus(status);  \
        results.SetCertificate(*pos); \
        isPathGood = false; \
        break;\
    }\
}\

Referenced by CPKIFPathBasicChecks2::DoChecks().


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