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_ocspchecker.h | 5 * pkix_ocspchecker.h |
6 * | 6 * |
7 * OcspChecker Object Type Definition | 7 * OcspChecker Object Type Definition |
8 * | 8 * |
9 */ | 9 */ |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 PKIX_Error * | 23 PKIX_Error * |
24 pkix_OcspChecker_CheckLocal( | 24 pkix_OcspChecker_CheckLocal( |
25 PKIX_PL_Cert *cert, | 25 PKIX_PL_Cert *cert, |
26 PKIX_PL_Cert *issuer, | 26 PKIX_PL_Cert *issuer, |
27 PKIX_PL_Date *date, | 27 PKIX_PL_Date *date, |
28 pkix_RevocationMethod *checkerObject, | 28 pkix_RevocationMethod *checkerObject, |
29 PKIX_ProcessingParams *procParams, | 29 PKIX_ProcessingParams *procParams, |
30 PKIX_UInt32 methodFlags, | 30 PKIX_UInt32 methodFlags, |
31 PKIX_Boolean chainVerificationState, | 31 PKIX_Boolean chainVerificationState, |
32 PKIX_RevocationStatus *pRevStatus, | 32 PKIX_RevocationStatus *pRevStatus, |
33 PKIX_UInt32 *reasonCode, | 33 CERTCRLEntryReasonCode *reasonCode, |
34 void *plContext); | 34 void *plContext); |
35 | 35 |
36 PKIX_Error * | 36 PKIX_Error * |
37 pkix_OcspChecker_CheckExternal( | 37 pkix_OcspChecker_CheckExternal( |
38 PKIX_PL_Cert *cert, | 38 PKIX_PL_Cert *cert, |
39 PKIX_PL_Cert *issuer, | 39 PKIX_PL_Cert *issuer, |
40 PKIX_PL_Date *date, | 40 PKIX_PL_Date *date, |
41 pkix_RevocationMethod *checkerObject, | 41 pkix_RevocationMethod *checkerObject, |
42 PKIX_ProcessingParams *procParams, | 42 PKIX_ProcessingParams *procParams, |
43 PKIX_UInt32 methodFlags, | 43 PKIX_UInt32 methodFlags, |
44 PKIX_RevocationStatus *pRevStatus, | 44 PKIX_RevocationStatus *pRevStatus, |
45 PKIX_UInt32 *reasonCode, | 45 CERTCRLEntryReasonCode *reasonCode, |
46 void **pNBIOContext, | 46 void **pNBIOContext, |
47 void *plContext); | 47 void *plContext); |
48 | 48 |
49 PKIX_Error * | 49 PKIX_Error * |
50 pkix_OcspChecker_Create(PKIX_RevocationMethodType methodType, | 50 pkix_OcspChecker_Create(PKIX_RevocationMethodType methodType, |
51 PKIX_UInt32 flags, | 51 PKIX_UInt32 flags, |
52 PKIX_UInt32 priority, | 52 PKIX_UInt32 priority, |
53 pkix_LocalRevocationCheckFn localRevChecker, | 53 pkix_LocalRevocationCheckFn localRevChecker, |
54 pkix_ExternalRevocationCheckFn externalRevChecker, | 54 pkix_ExternalRevocationCheckFn externalRevChecker, |
55 PKIX_PL_VerifyCallback certVerifyFn, | 55 PKIX_PL_VerifyCallback certVerifyFn, |
56 pkix_RevocationMethod **pChecker, | 56 pkix_RevocationMethod **pChecker, |
57 void *plContext); | 57 void *plContext); |
58 | 58 |
59 /* see source file for function documentation */ | 59 /* see source file for function documentation */ |
60 | 60 |
61 PKIX_Error *pkix_OcspChecker_RegisterSelf(void *plContext); | 61 PKIX_Error *pkix_OcspChecker_RegisterSelf(void *plContext); |
62 | 62 |
63 #ifdef __cplusplus | 63 #ifdef __cplusplus |
64 } | 64 } |
65 #endif | 65 #endif |
66 | 66 |
67 #endif /* _PKIX_OCSPCHECKER_H */ | 67 #endif /* _PKIX_OCSPCHECKER_H */ |
OLD | NEW |