Meaning
Standardized application programming interface used to interact with cryptographic tokens and hardware security modules. The pkcs11 protocol provides a common language for software to request encryption, decryption, and digital signatures from an external hardware device. It abstracts the complexities of the hardware away from the application developer by offering a set of high level functions.
Secure Processing
Secure processing happens inside a dedicated device that protects the keys from being copied or stolen. The pkcs11 protocol defines how the software opens a session with the token and uses a personal identification number to authenticate. Once the session is established, the application can perform operations without ever seeing the actual private key.
This isolation is a fundamental part of maintaining the security of high value digital certificates.
Physical Driver
Physical drivers translate the standard commands into the specific instructions understood by the secure module. When a program uses the pkcs11 protocol, it loads a library provided by the hardware manufacturer that acts as a bridge. This allows the same software to work with a wide range of smart cards and servers without needing to be rewritten for each one.
The architecture ensures that the cryptographic engine remains separate from the general purpose computer.
Design Choice
Design choices allow for the replacement of hardware components without disrupting the overall system.