OLD | NEW |
| (Empty) |
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 | |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 /* | |
5 * pkix_pl_crlentry.h | |
6 * | |
7 * CRL Entry Type Object Definitions | |
8 * | |
9 */ | |
10 | |
11 #ifndef _PKIX_PL_CRLENTRY_H | |
12 #define _PKIX_PL_CRLENTRY_H | |
13 | |
14 #include "pkix_pl_common.h" | |
15 | |
16 #ifdef __cplusplus | |
17 extern "C" { | |
18 #endif | |
19 | |
20 #define PKIX_PL_CRL_REASONCODE_NOTSET (-1) | |
21 | |
22 struct PKIX_PL_CRLEntryStruct { | |
23 CERTCrlEntry *nssCrlEntry; | |
24 PKIX_PL_BigInt *serialNumber; | |
25 PKIX_List *critExtOids; | |
26 PKIX_Int32 userReasonCode; | |
27 PKIX_Boolean userReasonCodeAbsent; | |
28 }; | |
29 | |
30 /* see source file for function documentation */ | |
31 | |
32 PKIX_Error *pkix_pl_CRLEntry_RegisterSelf(void *plContext); | |
33 | |
34 /* following functions are called by CRL only hence not public */ | |
35 | |
36 PKIX_Error * | |
37 pkix_pl_CRLEntry_Create( | |
38 CERTCrlEntry **nssCrlEntry, /* head of entry list */ | |
39 PKIX_List **pCrlEntryList, | |
40 void *plContext); | |
41 | |
42 #ifdef __cplusplus | |
43 } | |
44 #endif | |
45 | |
46 #endif /* _PKIX_PL_CRLENTRY_H */ | |
OLD | NEW |