Skip to main content

Crate uselesskey_pkcs11_mock

Crate uselesskey_pkcs11_mock 

Source
Expand description

Deterministic PKCS#11-like mock fixtures.

This crate provides a tiny test fixture layer for hardware-adjacent tests. It does not emulate a full PKCS#11 daemon.

Structs§

KeyHandle
Identifier to reference a key in the mock provider.
MockPkcs11Provider
Pkcs11MockSpec
Deterministic builder spec for PKCS#11-like fixtures.
SlotTokenInfo
Metadata describing a mock slot and token.

Constants§

DOMAIN_PKCS11_MOCK
Stable cache domain for PKCS#11 mock artifacts.

Traits§

Pkcs11MockFactoryExt
Extension trait to build PKCS#11-like mock providers from a core Factory.