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 * Internal header file included only by files in pkcs11 dir, or in | 5 * Internal header file included only by files in pkcs11 dir, or in |
6 * pkcs11 specific client and server files. | 6 * pkcs11 specific client and server files. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef _SECMODTI_H_ | 9 #ifndef _SECMODTI_H_ |
10 #define _SECMODTI_H_ 1 | 10 #define _SECMODTI_H_ 1 |
11 #include "prmon.h" | 11 #include "prmon.h" |
12 #include "prtypes.h" | 12 #include "prtypes.h" |
13 #include "nssilckt.h" | 13 #include "nssilckt.h" |
14 #include "pk11init.h" | |
15 #include "secmodt.h" | 14 #include "secmodt.h" |
16 #include "pkcs11t.h" | 15 #include "pkcs11t.h" |
17 | 16 |
18 #include "nssdevt.h" | 17 #include "nssdevt.h" |
19 | 18 |
20 /* internal data structures */ | 19 /* internal data structures */ |
21 | 20 |
22 /* Traverse slots callback */ | 21 /* Traverse slots callback */ |
23 typedef struct pk11TraverseSlotStr { | 22 typedef struct pk11TraverseSlotStr { |
24 SECStatus (*callback)(PK11SlotInfo *,CK_OBJECT_HANDLE, void *); | 23 SECStatus (*callback)(PK11SlotInfo *,CK_OBJECT_HANDLE, void *); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 }; | 178 }; |
180 | 179 |
181 | 180 |
182 #define MAX_TEMPL_ATTRS 16 /* maximum attributes in template */ | 181 #define MAX_TEMPL_ATTRS 16 /* maximum attributes in template */ |
183 | 182 |
184 /* This mask includes all CK_FLAGs with an equivalent CKA_ attribute. */ | 183 /* This mask includes all CK_FLAGs with an equivalent CKA_ attribute. */ |
185 #define CKF_KEY_OPERATION_FLAGS 0x000e7b00UL | 184 #define CKF_KEY_OPERATION_FLAGS 0x000e7b00UL |
186 | 185 |
187 | 186 |
188 #endif /* _SECMODTI_H_ */ | 187 #endif /* _SECMODTI_H_ */ |
OLD | NEW |