Mercurial > trustbridge > nss-cmake-static
comparison nss/lib/softoken/softoknt.h @ 0:1e5118fa0cb1
This is NSS with a Cmake Buildsyste
To compile a static NSS library for Windows we've used the
Chromium-NSS fork and added a Cmake buildsystem to compile
it statically for Windows. See README.chromium for chromium
changes and README.trustbridge for our modifications.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 28 Jul 2014 10:47:06 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1e5118fa0cb1 |
---|---|
1 /* | |
2 * softoknt.h - public data structures for the software token library | |
3 * | |
4 * This Source Code Form is subject to the terms of the Mozilla Public | |
5 * License, v. 2.0. If a copy of the MPL was not distributed with this | |
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
7 | |
8 #ifndef _SOFTOKNT_H_ | |
9 #define _SOFTOKNT_H_ | |
10 | |
11 #define NSS_SOFTOKEN_DEFAULT_CHUNKSIZE 2048 | |
12 | |
13 /* | |
14 * FIPS 140-2 auditing | |
15 */ | |
16 typedef enum { | |
17 NSS_AUDIT_ERROR = 3, /* errors */ | |
18 NSS_AUDIT_WARNING = 2, /* warning messages */ | |
19 NSS_AUDIT_INFO = 1 /* informational messages */ | |
20 } NSSAuditSeverity; | |
21 | |
22 typedef enum { | |
23 NSS_AUDIT_ACCESS_KEY = 0, | |
24 NSS_AUDIT_CHANGE_KEY, | |
25 NSS_AUDIT_COPY_KEY, | |
26 NSS_AUDIT_CRYPT, | |
27 NSS_AUDIT_DERIVE_KEY, | |
28 NSS_AUDIT_DESTROY_KEY, | |
29 NSS_AUDIT_DIGEST_KEY, | |
30 NSS_AUDIT_FIPS_STATE, | |
31 NSS_AUDIT_GENERATE_KEY, | |
32 NSS_AUDIT_INIT_PIN, | |
33 NSS_AUDIT_INIT_TOKEN, | |
34 NSS_AUDIT_LOAD_KEY, | |
35 NSS_AUDIT_LOGIN, | |
36 NSS_AUDIT_LOGOUT, | |
37 NSS_AUDIT_SELF_TEST, | |
38 NSS_AUDIT_SET_PIN, | |
39 NSS_AUDIT_UNWRAP_KEY, | |
40 NSS_AUDIT_WRAP_KEY | |
41 } NSSAuditType; | |
42 | |
43 #endif /* _SOFTOKNT_H_ */ |