2. References xx
3. Definitions xxiii
4. Symbols and abbreviations xxvi
5. General overview xxix
5.1. Design goals xxix
5.2. General model xxix
5.3. Logical view of a token xxxi
5.4.
Users xxxii
5.5. Applications and their use of Cryptoki xxxiii
5.5.1. Applications and processes xxxiii
5.5.2. Applications and threads xxxiii
5.6.
Sessions xxxiv
5.6.1. Read-only session states xxxv
5.6.2. Read/write session states xxxvi
5.6.3. Permitted object accesses by sessions xxxvii
5.6.4. Session events xxxix
5.6.5. Session handles and object handles xxxix
5.6.6. Capabilities of sessions xl
5.6.7. Example of use of sessions xl
5.7.
Function overview xliii
6. Security considerations xlvi
7. Platform- and compiler-dependent directives for C or C++ xlviii
7.1. Structure packing xlviii
7.2. Pointer-related macros xlviii
CK_PTR xlviii
CK_DEFINE_FUNCTION xlviii
CK_DECLARE_FUNCTION xlix
CK_DECLARE_FUNCTION_POINTER xlix
CK_CALLBACK_FUNCTION xlix
NULL_PTR l
7.3. Sample platform- and
compiler-dependent code l
7.3.1. Win32 l
7.3.2. Win16 l
7.3.3. Generic UNIX li
8. General data types lii
8.1. General information lii
CK_VERSION; CK_VERSION_PTR lii
CK_INFO; CK_INFO_PTR liii
CK_NOTIFICATION liii
8.2.
Slot and token types liv
CK_SLOT_ID; CK_SLOT_ID_PTR liv
CK_SLOT_INFO; CK_SLOT_INFO_PTR liv
CK_TOKEN_INFO; CK_TOKEN_INFO_PTR lv
8.3. Session types lix
CK_SESSION_HANDLE; CK_SESSION_HANDLE_PTR lix
CK_USER_TYPE lix
CK_STATE lix
CK_SESSION_INFO; CK_SESSION_INFO_PTR lx
8.4. Object types lx
CK_OBJECT_HANDLE; CK_OBJECT_HANDLE_PTR lx
CK_OBJECT_CLASS; CK_OBJECT_CLASS_PTR lxi
CK_KEY_TYPE lxi
CK_CERTIFICATE_TYPE lxii
CK_ATTRIBUTE_TYPE lxii
CK_ATTRIBUTE; CK_ATTRIBUTE_PTR lxiii
CK_DATE lxiv
8.5. Data types for mechanisms lxiv
CK_MECHANISM_TYPE; CK_MECHANISM_TYPE_PTR lxiv
CK_MECHANISM; CK_MECHANISM_PTR lxvii
CK_MECHANISM_INFO; CK_MECHANISM_INFO_PTR lxviii
8.6.
Function types lxix
CK_RV lxix
CK_NOTIFY lxxi
CK_C_XXX lxxii
CK_FUNCTION_LIST; CK_FUNCTION_LIST_PTR; CK_FUNCTION_LIST_PTR_PTR lxxii
8.7. Locking-related types lxxiv
CK_CREATEMUTEX lxxiv
CK_DESTROYMUTEX lxxiv
CK_LOCKMUTEX and CK_UNLOCKMUTEX lxxiv
CK_C_INITIALIZE_ARGS; CK_C_INITIALIZE_ARGS_PTR lxxv