Skip to main content

Crate confium_pkcs11_server

Crate confium_pkcs11_server 

Source
Expand description

PKCS#11 v3.0 server dispatching to Confium threshold protocol.

This is the Mode 2 cornerstone. Exposes PKCS#11 v3.0 API (C_Sign, C_Decrypt, C_GenerateKeyPair, etc.) and internally dispatches to threshold protocol. Existing PKCS#11 consumers (OpenSSL, OpenSSH, Java KeyStore, nginx, Apache) work unchanged.

The full PKCS#11 v3.0 surface is ~40+ functions. This crate provides the dispatch layer that routes calls to a quorum coordinator; the real PKCS#11 FFI shim is generated separately.

See TODO.roadmap/28-mode2-pki-replacement.md for full spec.

Re-exports§

pub use dispatch::*;
pub use slot::*;
pub use token::*;

Modules§

dispatch
Dispatch layer — routes PKCS#11 calls to threshold protocol.
slot
PKCS#11 slot model.
token
PKCS#11 token model.