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