Expand description
Methods of connecting to a YubiHSM 2:
- HTTP: communicate with YubiHSM via the
yubihsm-connector
process from the Yubico SDK. - USB: communicate directly with the YubiHSM over USB using the rusb crate.
Additionally, this crate includes an optional development-only mockhsm
(gated under a mockhsm
cargo feature) which can be used as a drop-in
replacement in places where you would like a simulated HSM for testing (e.g. CI).
Modules
http
http
Connection for yubihsm-connector
which communicates using HTTP.
usb
usb
Support for connecting to the YubiHSM 2 via USB.
Structs
Abstract interface to multiple types of YubiHSM 2 connections
HttpConfig
http
Configuration options for the HTTP (i.e. yubihsm-connector
) connection
UsbConfig
usb
Configuration for connecting to the YubiHSM via USB
Enums
yubihsm-connector
related error kinds
Traits
Connections to the HSM
Type Definitions
yubihsm-connector
related errors