OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 /* | 4 /* |
5 * pkix_build.h | 5 * pkix_build.h |
6 * | 6 * |
7 * Header file for buildChain function | 7 * Header file for buildChain function |
8 * | 8 * |
9 */ | 9 */ |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 typedef enum { | 23 typedef enum { |
24 BUILD_SHORTCUTPENDING, | 24 BUILD_SHORTCUTPENDING, |
25 BUILD_INITIAL, | 25 BUILD_INITIAL, |
26 BUILD_TRYAIA, | 26 BUILD_TRYAIA, |
27 BUILD_AIAPENDING, | 27 BUILD_AIAPENDING, |
28 BUILD_COLLECTINGCERTS, | 28 BUILD_COLLECTINGCERTS, |
29 BUILD_GATHERPENDING, | 29 BUILD_GATHERPENDING, |
30 BUILD_CERTVALIDATING, | 30 BUILD_CERTVALIDATING, |
31 BUILD_ABANDONNODE, | 31 BUILD_ABANDONNODE, |
32 BUILD_CRLPREP, | |
33 BUILD_CRL1, | |
34 BUILD_DATEPREP, | 32 BUILD_DATEPREP, |
35 BUILD_CHECKTRUSTED, | 33 BUILD_CHECKTRUSTED, |
36 BUILD_CHECKTRUSTED2, | 34 BUILD_CHECKTRUSTED2, |
37 BUILD_ADDTOCHAIN, | 35 BUILD_ADDTOCHAIN, |
38 BUILD_CRL2PREP, | |
39 BUILD_CRL2, | |
40 BUILD_VALCHAIN, | 36 BUILD_VALCHAIN, |
41 BUILD_VALCHAIN2, | 37 BUILD_VALCHAIN2, |
42 BUILD_EXTENDCHAIN, | 38 BUILD_EXTENDCHAIN, |
43 BUILD_GETNEXTCERT | 39 BUILD_GETNEXTCERT |
44 } BuildStatus; | 40 } BuildStatus; |
45 | 41 |
46 typedef struct BuildConstantsStruct BuildConstants; | 42 typedef struct BuildConstantsStruct BuildConstants; |
47 | 43 |
48 /* | 44 /* |
49 * These fields (the ones that are objects) are not reference-counted | 45 * These fields (the ones that are objects) are not reference-counted |
(...skipping 30 matching lines...) Expand all Loading... |
80 PKIX_UInt32 numCerts; | 76 PKIX_UInt32 numCerts; |
81 PKIX_UInt32 numAias; | 77 PKIX_UInt32 numAias; |
82 PKIX_UInt32 certIndex; | 78 PKIX_UInt32 certIndex; |
83 PKIX_UInt32 aiaIndex; | 79 PKIX_UInt32 aiaIndex; |
84 PKIX_UInt32 certCheckedIndex; | 80 PKIX_UInt32 certCheckedIndex; |
85 PKIX_UInt32 checkerIndex; | 81 PKIX_UInt32 checkerIndex; |
86 PKIX_UInt32 hintCertIndex; | 82 PKIX_UInt32 hintCertIndex; |
87 PKIX_UInt32 numFanout; | 83 PKIX_UInt32 numFanout; |
88 PKIX_UInt32 numDepth; | 84 PKIX_UInt32 numDepth; |
89 PKIX_UInt32 reasonCode; | 85 PKIX_UInt32 reasonCode; |
90 PKIX_Boolean revCheckDelayed; | |
91 PKIX_Boolean canBeCached; | 86 PKIX_Boolean canBeCached; |
92 PKIX_Boolean useOnlyLocal; | 87 PKIX_Boolean useOnlyLocal; |
93 PKIX_Boolean revChecking; | 88 PKIX_Boolean revChecking; |
94 PKIX_Boolean usingHintCerts; | 89 PKIX_Boolean usingHintCerts; |
95 PKIX_Boolean certLoopingDetected; | 90 PKIX_Boolean certLoopingDetected; |
96 PKIX_PL_Date *validityDate; | 91 PKIX_PL_Date *validityDate; |
97 PKIX_PL_Cert *prevCert; | 92 PKIX_PL_Cert *prevCert; |
98 PKIX_PL_Cert *candidateCert; | 93 PKIX_PL_Cert *candidateCert; |
99 PKIX_List *traversedSubjNames; | 94 PKIX_List *traversedSubjNames; |
100 PKIX_List *trustChain; | 95 PKIX_List *trustChain; |
(...skipping 15 matching lines...) Expand all Loading... |
116 pkix_ForwardBuilderState_RegisterSelf(void *plContext); | 111 pkix_ForwardBuilderState_RegisterSelf(void *plContext); |
117 | 112 |
118 PKIX_Error * | 113 PKIX_Error * |
119 PKIX_Build_GetNBIOContext(void *state, void **pNBIOContext, void *plContext); | 114 PKIX_Build_GetNBIOContext(void *state, void **pNBIOContext, void *plContext); |
120 | 115 |
121 #ifdef __cplusplus | 116 #ifdef __cplusplus |
122 } | 117 } |
123 #endif | 118 #endif |
124 | 119 |
125 #endif /* _PKIX_BUILD_H */ | 120 #endif /* _PKIX_BUILD_H */ |
OLD | NEW |