[−][src]Trait yubihsm::connector::Connection
Connections to the HSM
Required methods
fn send_message(
&self,
uuid: Uuid,
msg: Message
) -> Result<Message, ConnectionError>
&self,
uuid: Uuid,
msg: Message
) -> Result<Message, ConnectionError>
Send a command message to the HSM, then read and return the response
Implementors
impl Connection for UsbConnection
[src]
fn send_message(
&self,
_uuid: Uuid,
cmd: Message
) -> Result<Message, ConnectionError>
[src]
&self,
_uuid: Uuid,
cmd: Message
) -> Result<Message, ConnectionError>
Send a command to the YubiHSM and read its response
impl Connection for MockConnection
[src]
fn send_message(
&self,
_uuid: Uuid,
message: Message
) -> Result<Message, ConnectionError>
[src]
&self,
_uuid: Uuid,
message: Message
) -> Result<Message, ConnectionError>
Send a message to the MockHsm