michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: /* michael@0: * pkix_procparams.h michael@0: * michael@0: * ProcessingParams Object Type Definition michael@0: * michael@0: */ michael@0: michael@0: #ifndef _PKIX_PROCESSINGPARAMS_H michael@0: #define _PKIX_PROCESSINGPARAMS_H michael@0: michael@0: #include "pkix_tools.h" michael@0: michael@0: michael@0: #ifdef __cplusplus michael@0: extern "C" { michael@0: #endif michael@0: michael@0: struct PKIX_ProcessingParamsStruct { michael@0: PKIX_List *trustAnchors; /* Never NULL */ michael@0: PKIX_List *hintCerts; /* user-supplied partial chain, may be NULL */ michael@0: PKIX_CertSelector *constraints; michael@0: PKIX_PL_Date *date; michael@0: PKIX_List *initialPolicies; /* list of PKIX_PL_OID */ michael@0: PKIX_Boolean initialPolicyMappingInhibit; michael@0: PKIX_Boolean initialAnyPolicyInhibit; michael@0: PKIX_Boolean initialExplicitPolicy; michael@0: PKIX_Boolean qualifiersRejected; michael@0: PKIX_List *certChainCheckers; michael@0: PKIX_List *certStores; michael@0: PKIX_Boolean isCrlRevocationCheckingEnabled; michael@0: PKIX_Boolean isCrlRevocationCheckingEnabledWithNISTPolicy; michael@0: PKIX_RevocationChecker *revChecker; michael@0: PKIX_ResourceLimits *resourceLimits; michael@0: PKIX_Boolean useAIAForCertFetching; michael@0: PKIX_Boolean qualifyTargetCert; michael@0: PKIX_Boolean useOnlyTrustAnchors; michael@0: }; michael@0: michael@0: /* see source file for function documentation */ michael@0: michael@0: PKIX_Error *pkix_ProcessingParams_RegisterSelf(void *plContext); michael@0: michael@0: #ifdef __cplusplus michael@0: } michael@0: #endif michael@0: michael@0: #endif /* _PKIX_PROCESSINGPARAMS_H */