michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef DEVNSS3HACK_H michael@0: #define DEVNSS3HACK_H michael@0: michael@0: #include "cert.h" michael@0: michael@0: PR_BEGIN_EXTERN_C michael@0: michael@0: NSS_EXTERN NSSToken * michael@0: nssToken_CreateFromPK11SlotInfo(NSSTrustDomain *td, PK11SlotInfo *nss3slot); michael@0: michael@0: NSS_EXTERN void michael@0: nssToken_UpdateName(NSSToken *); michael@0: michael@0: NSS_EXTERN PRStatus michael@0: nssToken_Refresh(NSSToken *); michael@0: michael@0: NSSTrustDomain * michael@0: nssToken_GetTrustDomain(NSSToken *token); michael@0: michael@0: void PK11Slot_SetNSSToken(PK11SlotInfo *sl, NSSToken *nsst); michael@0: michael@0: NSSToken * PK11Slot_GetNSSToken(PK11SlotInfo *sl); michael@0: michael@0: PR_END_EXTERN_C michael@0: michael@0: #endif /* DEVNSS3HACK_H */