Module yubihsm::connector [−][src]
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 |
usb | usb Support for connecting to the YubiHSM 2 via USB. |
Structs
Connector | Abstract interface to multiple types of YubiHSM 2 connections |
HttpConfig | http Configuration options for the HTTP (i.e. |
UsbConfig | usb Configuration for connecting to the YubiHSM via USB |
Enums
ErrorKind |
|
Traits
Connection | Connections to the HSM |
Type Definitions
Error |
|