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 * This file defines functions associated with the PKIX_CertStore type. | 5 * This file defines functions associated with the PKIX_CertStore type. |
6 * | 6 * |
7 */ | 7 */ |
8 | 8 |
9 #ifndef _PKIX_CERTSTORE_H | 9 #ifndef _PKIX_CERTSTORE_H |
10 #define _PKIX_CERTSTORE_H | 10 #define _PKIX_CERTSTORE_H |
11 | 11 |
12 #include "pkixt.h" | 12 #include "pkixt.h" |
| 13 #include "certt.h" |
13 | 14 |
14 #ifdef __cplusplus | 15 #ifdef __cplusplus |
15 extern "C" { | 16 extern "C" { |
16 #endif | 17 #endif |
17 | 18 |
18 /* General | 19 /* General |
19 * | 20 * |
20 * Please refer to the libpkix Programmer's Guide for detailed information | 21 * Please refer to the libpkix Programmer's Guide for detailed information |
21 * about how to use the libpkix library. Certain key warnings and notices from | 22 * about how to use the libpkix library. Certain key warnings and notices from |
22 * that document are repeated here for emphasis. | 23 * that document are repeated here for emphasis. |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 * Returns a CertStore Error if the function fails in a non-fatal way. | 321 * Returns a CertStore Error if the function fails in a non-fatal way. |
321 * Returns a Fatal Error if the function fails in an unrecoverable way. | 322 * Returns a Fatal Error if the function fails in an unrecoverable way. |
322 */ | 323 */ |
323 typedef PKIX_Error * | 324 typedef PKIX_Error * |
324 (*PKIX_CertStore_CheckRevokationByCrlCallback)( | 325 (*PKIX_CertStore_CheckRevokationByCrlCallback)( |
325 PKIX_CertStore *store, | 326 PKIX_CertStore *store, |
326 PKIX_PL_Cert *cert, | 327 PKIX_PL_Cert *cert, |
327 PKIX_PL_Cert *issuer, | 328 PKIX_PL_Cert *issuer, |
328 PKIX_PL_Date *date, | 329 PKIX_PL_Date *date, |
329 PKIX_Boolean crlDownloadDone, | 330 PKIX_Boolean crlDownloadDone, |
330 PKIX_UInt32 *reasonCode, | 331 CERTCRLEntryReasonCode *reasonCode, |
331 PKIX_RevocationStatus *revStatus, | 332 PKIX_RevocationStatus *revStatus, |
332 void *plContext); | 333 void *plContext); |
333 | 334 |
334 /* | 335 /* |
335 * FUNCTION: PKIX_CertStore_CrlContinue | 336 * FUNCTION: PKIX_CertStore_CrlContinue |
336 * DESCRIPTION: | 337 * DESCRIPTION: |
337 * | 338 * |
338 * This function continues the non-blocking operation initiated by an earlier | 339 * This function continues the non-blocking operation initiated by an earlier |
339 * call to the CRLCallback function, for the CertStore pointed to by "store". | 340 * call to the CRLCallback function, for the CertStore pointed to by "store". |
340 * If an earlier call did not terminate with the WOULDBLOCK indication (non-NUL
L | 341 * If an earlier call did not terminate with the WOULDBLOCK indication (non-NUL
L |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 PKIX_CertStore_GetLocalFlag( | 705 PKIX_CertStore_GetLocalFlag( |
705 PKIX_CertStore *store, | 706 PKIX_CertStore *store, |
706 PKIX_Boolean *pLocalFlag, | 707 PKIX_Boolean *pLocalFlag, |
707 void *plContext); | 708 void *plContext); |
708 | 709 |
709 #ifdef __cplusplus | 710 #ifdef __cplusplus |
710 } | 711 } |
711 #endif | 712 #endif |
712 | 713 |
713 #endif /* _PKIX_CERTSTORE_H */ | 714 #endif /* _PKIX_CERTSTORE_H */ |
OLD | NEW |