Trait yubihsm::connector::Connection [−][src]
pub trait Connection: Send + Sync { fn send_message(&self, uuid: Uuid, msg: Message) -> Result<Message, Error>; }
Expand description
Connections to the HSM
Required methods
fn send_message(&self, uuid: Uuid, msg: Message) -> Result<Message, Error>
[src]
fn send_message(&self, uuid: Uuid, msg: Message) -> Result<Message, Error>
[src]Send a command message to the HSM, then read and return the response
Implementors
This is supported on crate feature
usb
only.Send a command to the YubiHSM and read its response