![]() | Cryptographic Token Interface Standard |
PKCS#11 |
Sections | |
General information | |
Slot and token types | |
Session types | |
Object types | |
Data types for mechanisms | |
Function types | |
Locking-related types |
A C or C++ source file in a Cryptoki application or library can define all these types (the types described here and the types that are specifically used for particular mechanism parameters) by including the top-level Cryptoki include file, pkcs11.h. pkcs11.h, in turn, includes the other Cryptoki include files, pkcs11t.h and pkcs11f.h. A source file can also include just pkcs11t.h (instead of pkcs11.h); this defines most (but not all) of the types specified here.
When including either of these header files, a source file must specify the preprocessor directives indicated in Section 8.