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 #ifndef _PK11PRIV_H_ | 4 #ifndef _PK11PRIV_H_ |
5 #define _PK11PRIV_H_ | 5 #define _PK11PRIV_H_ |
6 #include "plarena.h" | 6 #include "plarena.h" |
7 #include "seccomon.h" | 7 #include "seccomon.h" |
8 #include "secoidt.h" | 8 #include "secoidt.h" |
9 #include "secdert.h" | 9 #include "secdert.h" |
10 #include "keyt.h" | 10 #include "keyt.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 CK_SESSION_HANDLE session_handle); | 52 CK_SESSION_HANDLE session_handle); |
53 PK11SlotInfo *PK11_NewSlotInfo(SECMODModule *mod); | 53 PK11SlotInfo *PK11_NewSlotInfo(SECMODModule *mod); |
54 void PK11_EnterSlotMonitor(PK11SlotInfo *); | 54 void PK11_EnterSlotMonitor(PK11SlotInfo *); |
55 void PK11_ExitSlotMonitor(PK11SlotInfo *); | 55 void PK11_ExitSlotMonitor(PK11SlotInfo *); |
56 void PK11_CleanKeyList(PK11SlotInfo *slot); | 56 void PK11_CleanKeyList(PK11SlotInfo *slot); |
57 | 57 |
58 | 58 |
59 /************************************************************ | 59 /************************************************************ |
60 * Slot Password Management | 60 * Slot Password Management |
61 ************************************************************/ | 61 ************************************************************/ |
62 SECStatus PK11_DoPassword(PK11SlotInfo *slot, PRBool loadCerts, void *wincx); | 62 SECStatus PK11_DoPassword(PK11SlotInfo *slot, PRBool loadCerts, void *wincx, |
| 63 » » » » PRBool contextSpecific); |
63 SECStatus PK11_VerifyPW(PK11SlotInfo *slot,char *pw); | 64 SECStatus PK11_VerifyPW(PK11SlotInfo *slot,char *pw); |
64 void PK11_HandlePasswordCheck(PK11SlotInfo *slot,void *wincx); | 65 void PK11_HandlePasswordCheck(PK11SlotInfo *slot,void *wincx); |
65 void PK11_SetVerifyPasswordFunc(PK11VerifyPasswordFunc func); | 66 void PK11_SetVerifyPasswordFunc(PK11VerifyPasswordFunc func); |
66 void PK11_SetIsLoggedInFunc(PK11IsLoggedInFunc func); | 67 void PK11_SetIsLoggedInFunc(PK11IsLoggedInFunc func); |
67 | 68 |
68 /************************************************************ | 69 /************************************************************ |
69 * Manage the built-In Slot Lists | 70 * Manage the built-In Slot Lists |
70 ************************************************************/ | 71 ************************************************************/ |
71 SECStatus PK11_InitSlotLists(void); | 72 SECStatus PK11_InitSlotLists(void); |
72 void PK11_DestroySlotLists(void); | 73 void PK11_DestroySlotLists(void); |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 SECStatus pk11_setGlobalOptions(PRBool noSingleThreadedModules, | 181 SECStatus pk11_setGlobalOptions(PRBool noSingleThreadedModules, |
181 PRBool allowAlreadyInitializedModules, | 182 PRBool allowAlreadyInitializedModules, |
182 PRBool dontFinalizeModules); | 183 PRBool dontFinalizeModules); |
183 | 184 |
184 /* return whether NSS is allowed to call C_Finalize */ | 185 /* return whether NSS is allowed to call C_Finalize */ |
185 PRBool pk11_getFinalizeModulesOption(void); | 186 PRBool pk11_getFinalizeModulesOption(void); |
186 | 187 |
187 SEC_END_PROTOS | 188 SEC_END_PROTOS |
188 | 189 |
189 #endif | 190 #endif |
OLD | NEW |