Module: CPKIFPathBasicChecks2
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>
Go to the source code of this file.
Defines | |
#define | ERROR_OVERRIDE(errCode) |
#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().