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_pl_ocspcertid.h | 5 * pkix_pl_ocspcertid.h |
6 * | 6 * |
7 * Public Key Object Definitions | 7 * Public Key Object Definitions |
8 * | 8 * |
9 */ | 9 */ |
10 | 10 |
11 #ifndef _PKIX_PL_OCSPCERTID_H | 11 #ifndef _PKIX_PL_OCSPCERTID_H |
12 #define _PKIX_PL_OCSPCERTID_H | 12 #define _PKIX_PL_OCSPCERTID_H |
13 | 13 |
14 #include "pkix_pl_common.h" | 14 #include "pkix_pl_common.h" |
15 | 15 |
16 #ifdef __cplusplus | 16 #ifdef __cplusplus |
17 extern "C" { | 17 extern "C" { |
18 #endif | 18 #endif |
19 | 19 |
20 struct PKIX_PL_OcspCertIDStruct { | 20 struct PKIX_PL_OcspCertIDStruct { |
21 CERTOCSPCertID *certID; | 21 CERTOCSPCertID *certID; |
22 }; | 22 }; |
23 | 23 |
24 /* see source file for function documentation */ | 24 /* see source file for function documentation */ |
25 | 25 |
26 PKIX_Error *pkix_pl_OcspCertID_RegisterSelf(void *plContext); | 26 PKIX_Error *pkix_pl_OcspCertID_RegisterSelf(void *plContext); |
27 | 27 |
28 PKIX_Error * | 28 PKIX_Error *PKIX_PL_OcspCertID_Create(PKIX_PL_Cert *cert, |
29 PKIX_PL_OcspCertID_Create( | 29 PKIX_PL_Date *validity, |
30 PKIX_PL_Cert *cert, | 30 PKIX_PL_OcspCertID **object, |
31 PKIX_PL_Date *validity, | 31 void *plContext); |
32 PKIX_PL_OcspCertID **object, | |
33 void *plContext); | |
34 | 32 |
35 PKIX_Error * | 33 PKIX_Error *PKIX_PL_OcspCertID_GetFreshCacheStatus( |
36 PKIX_PL_OcspCertID_GetFreshCacheStatus( | 34 PKIX_PL_OcspCertID *cid, PKIX_PL_Date *validity, |
37 PKIX_PL_OcspCertID *cid,· | 35 PKIX_Boolean *hasFreshStatus, PKIX_Boolean *statusIsGood, |
38 PKIX_PL_Date *validity, | 36 SECErrorCodes *missingResponseError, void *plContext); |
39 PKIX_Boolean *hasFreshStatus, | |
40 PKIX_Boolean *statusIsGood, | |
41 SECErrorCodes *missingResponseError, | |
42 void *plContext); | |
43 | 37 |
44 PKIX_Error * | 38 PKIX_Error *PKIX_PL_OcspCertID_RememberOCSPProcessingFailure( |
45 PKIX_PL_OcspCertID_RememberOCSPProcessingFailure( | 39 PKIX_PL_OcspCertID *cid, void *plContext); |
46 PKIX_PL_OcspCertID *cid, | |
47 void *plContext); | |
48 | 40 |
49 #ifdef __cplusplus | 41 #ifdef __cplusplus |
50 } | 42 } |
51 #endif | 43 #endif |
52 | 44 |
53 #endif /* _PKIX_PL_OCSPCERTID_H */ | 45 #endif /* _PKIX_PL_OCSPCERTID_H */ |
OLD | NEW |