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).
Re-exports
pub use self::http::HttpConfig;
pub use self::usb::UsbConfig;
Modules
- http
http
Connection foryubihsm-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
Enums
yubihsm-connector
related error kinds
Traits
- Connections to the HSM
Type Definitions
yubihsm-connector
related errors