Cryptographic Token Interface Standard

PKCS#11


General data types


Sections

General information
Slot and token types
Session types
Object types
Data types for mechanisms
Function types
Locking-related types

Detailed Description

The general Cryptoki data types are described in the following subsections. The data types for holding parameters for various mechanisms, and the pointers to those parameters, are not described here; these types are described with the information on the mechanisms themselves, in Section 11.17.2.

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.


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v210