security/nss/lib/libpkix/pkix/params/pkix_procparams.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/libpkix/pkix/params/pkix_procparams.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,50 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +/*
     1.8 + * pkix_procparams.h
     1.9 + *
    1.10 + * ProcessingParams Object Type Definition
    1.11 + *
    1.12 + */
    1.13 +
    1.14 +#ifndef _PKIX_PROCESSINGPARAMS_H
    1.15 +#define _PKIX_PROCESSINGPARAMS_H
    1.16 +
    1.17 +#include "pkix_tools.h"
    1.18 +
    1.19 +
    1.20 +#ifdef __cplusplus
    1.21 +extern "C" {
    1.22 +#endif
    1.23 +
    1.24 +struct PKIX_ProcessingParamsStruct {
    1.25 +        PKIX_List *trustAnchors;        /* Never NULL */
    1.26 +        PKIX_List *hintCerts;	/* user-supplied partial chain, may be NULL */
    1.27 +        PKIX_CertSelector *constraints;
    1.28 +        PKIX_PL_Date *date;
    1.29 +        PKIX_List *initialPolicies;     /* list of PKIX_PL_OID */
    1.30 +        PKIX_Boolean initialPolicyMappingInhibit;
    1.31 +        PKIX_Boolean initialAnyPolicyInhibit;
    1.32 +        PKIX_Boolean initialExplicitPolicy;
    1.33 +        PKIX_Boolean qualifiersRejected;
    1.34 +        PKIX_List *certChainCheckers;
    1.35 +        PKIX_List *certStores;
    1.36 +        PKIX_Boolean isCrlRevocationCheckingEnabled;
    1.37 +        PKIX_Boolean isCrlRevocationCheckingEnabledWithNISTPolicy;
    1.38 +        PKIX_RevocationChecker *revChecker;
    1.39 +        PKIX_ResourceLimits *resourceLimits;
    1.40 +        PKIX_Boolean useAIAForCertFetching;
    1.41 +        PKIX_Boolean qualifyTargetCert;
    1.42 +        PKIX_Boolean useOnlyTrustAnchors;
    1.43 +};
    1.44 +
    1.45 +/* see source file for function documentation */
    1.46 +
    1.47 +PKIX_Error *pkix_ProcessingParams_RegisterSelf(void *plContext);
    1.48 +
    1.49 +#ifdef __cplusplus
    1.50 +}
    1.51 +#endif
    1.52 +
    1.53 +#endif /* _PKIX_PROCESSINGPARAMS_H */

mercurial