|
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_certselector.h |
|
6 * |
|
7 * CertSelector Object Type Definition |
|
8 * |
|
9 */ |
|
10 |
|
11 #ifndef _PKIX_CERTSELECTOR_H |
|
12 #define _PKIX_CERTSELECTOR_H |
|
13 |
|
14 #include "pkix_tools.h" |
|
15 |
|
16 #ifdef __cplusplus |
|
17 extern "C" { |
|
18 #endif |
|
19 |
|
20 struct PKIX_CertSelectorStruct { |
|
21 PKIX_CertSelector_MatchCallback matchCallback; |
|
22 PKIX_ComCertSelParams *params; |
|
23 PKIX_PL_Object *context; |
|
24 }; |
|
25 |
|
26 /* see source file for function documentation */ |
|
27 |
|
28 PKIX_Error * |
|
29 pkix_CertSelector_Select( |
|
30 PKIX_CertSelector *selector, |
|
31 PKIX_List *before, |
|
32 PKIX_List **pAfter, |
|
33 void *plContext); |
|
34 |
|
35 PKIX_Error *pkix_CertSelector_RegisterSelf(void *plContext); |
|
36 |
|
37 #ifdef __cplusplus |
|
38 } |
|
39 #endif |
|
40 |
|
41 #endif /* _PKIX_CERTSELECTOR_H */ |