Expand description
Configuration types for the PKCS#11 backend.
The backend is configured entirely through the
Options map passed to
StoreBackend::open.
This module names those option keys and parses them into a typed
Config.
Structs§
- Config
- Typed view over the PKCS#11 backend’s open-time options.
Constants§
- OPT_PIN
- Options key carrying the user PIN. Optional at config time — if absent, callers are expected to prompt the operator and supply the PIN before the first HSM operation that requires it.
- OPT_
PKCS11_ MODULE - Options key naming the PKCS#11 module path. Required: there is no
sensible default for the location of a vendor’s
.so/.dylib. - OPT_
SLOT_ ID - Options key naming the HSM slot, as a decimal
u64. Required: slot discovery by label is supported, but a concrete slot must still be resolved before opening a session. - OPT_
TOKEN_ LABEL - Options key naming a token label, used for slot discovery when
slot_idis not known in advance. Optional.