[−][src]Module yubihsm::connector::usb
Support for connecting to the YubiHSM 2 via USB.
The [yubihsm::connector::usb::Devices] can be used to
Structs
Device | A USB device we've identified as a YubiHSM 2 |
Devices | A collection of detected YubiHSM 2 devices, represented as |
UsbConfig | Configuration for connecting to the YubiHSM via USB |
UsbConnection | Connection to HSM via USB |
UsbConnector | Connect to the HSM via USB. |
UsbTimeout | Timeouts when performing USB operations |
Constants
YUBICO_VENDOR_ID | USB vendor ID for Yubico |
YUBIHSM2_PRODUCT_ID | USB product ID for the YubiHSM 2 |
YUBIHSM2_INTERFACE_NUM | YubiHSM 2 USB interface number |
YUBIHSM2_BULK_OUT_ENDPOINT | YubiHSM 2 bulk out endpoint |
YUBIHSM2_BULK_IN_ENDPOINT | YubiHSM 2 bulk in endpoint |