security/nss/lib/pk11wrap/dev3hack.h

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:d888428f0fec
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 */

mercurial