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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 PKIX_PL_Date *timeLimit; | 61 PKIX_PL_Date *timeLimit; |
62 PKIX_PL_Cert *targetCert; | 62 PKIX_PL_Cert *targetCert; |
63 PKIX_PL_PublicKey *targetPubKey; | 63 PKIX_PL_PublicKey *targetPubKey; |
64 PKIX_List *certStores; | 64 PKIX_List *certStores; |
65 PKIX_List *anchors; | 65 PKIX_List *anchors; |
66 PKIX_List *userCheckers; | 66 PKIX_List *userCheckers; |
67 PKIX_List *hintCerts; | 67 PKIX_List *hintCerts; |
68 PKIX_RevocationChecker *revChecker; | 68 PKIX_RevocationChecker *revChecker; |
69 PKIX_PL_AIAMgr *aiaMgr; | 69 PKIX_PL_AIAMgr *aiaMgr; |
70 PKIX_Boolean useAIAForCertFetching; | 70 PKIX_Boolean useAIAForCertFetching; |
| 71 PKIX_Boolean trustOnlyUserAnchors; |
71 }; | 72 }; |
72 | 73 |
73 struct PKIX_ForwardBuilderStateStruct{ | 74 struct PKIX_ForwardBuilderStateStruct{ |
74 BuildStatus status; | 75 BuildStatus status; |
75 PKIX_Int32 traversedCACerts; | 76 PKIX_Int32 traversedCACerts; |
76 PKIX_UInt32 certStoreIndex; | 77 PKIX_UInt32 certStoreIndex; |
77 PKIX_UInt32 numCerts; | 78 PKIX_UInt32 numCerts; |
78 PKIX_UInt32 numAias; | 79 PKIX_UInt32 numAias; |
79 PKIX_UInt32 certIndex; | 80 PKIX_UInt32 certIndex; |
80 PKIX_UInt32 aiaIndex; | 81 PKIX_UInt32 aiaIndex; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 pkix_ForwardBuilderState_RegisterSelf(void *plContext); | 114 pkix_ForwardBuilderState_RegisterSelf(void *plContext); |
114 | 115 |
115 PKIX_Error * | 116 PKIX_Error * |
116 PKIX_Build_GetNBIOContext(void *state, void **pNBIOContext, void *plContext); | 117 PKIX_Build_GetNBIOContext(void *state, void **pNBIOContext, void *plContext); |
117 | 118 |
118 #ifdef __cplusplus | 119 #ifdef __cplusplus |
119 } | 120 } |
120 #endif | 121 #endif |
121 | 122 |
122 #endif /* _PKIX_BUILD_H */ | 123 #endif /* _PKIX_BUILD_H */ |
OLD | NEW |