Struct yubihsm::UsbAdapter[][src]

pub struct UsbAdapter { /* fields omitted */ }

libusb-based adapter which communicates directly with the YubiHSM2

Methods

impl UsbAdapter
[src]

Borrow the HsmDevice for this adapter

Trait Implementations

impl Adapter for UsbAdapter
[src]

Configuration options for this adapter

Connect to a YubiHSM2 using the given configuration

Check that we still have an active USB connection

Get the serial number for the current YubiHSM2 (if available)

Send a command to the YubiHSM and read its response

impl Default for UsbAdapter
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for UsbAdapter

impl Sync for UsbAdapter