dev3hack.h (707B)
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 #ifndef DEVNSS3HACK_H 6 #define DEVNSS3HACK_H 7 8 #include "cert.h" 9 10 PR_BEGIN_EXTERN_C 11 12 NSS_EXTERN NSSToken * 13 nssToken_CreateFromPK11SlotInfo(NSSTrustDomain *td, PK11SlotInfo *nss3slot); 14 15 NSS_EXTERN void 16 nssToken_UpdateName(NSSToken *); 17 18 NSS_EXTERN PRStatus 19 nssToken_Refresh(NSSToken *); 20 21 NSSTrustDomain * 22 nssToken_GetTrustDomain(NSSToken *token); 23 24 void PK11Slot_SetNSSToken(PK11SlotInfo *sl, NSSToken *nsst); 25 26 NSSToken *PK11Slot_GetNSSToken(PK11SlotInfo *sl); 27 28 PR_END_EXTERN_C 29 30 #endif /* DEVNSS3HACK_H */