Struct yubihsm::connector::http::HttpConnector[][src]

pub struct HttpConnector(_);

Connect to the HSM via HTTP(S) using yubihsm-connector.

HttpConnector is available when the http cargo feature is enabled. The feature is presently enabled-by-default.

yubihsm-connector service is a small HTTP(S) service included in the Yubico SDK which exposes an HSM to a network, allowing several clients to use it concurrently.

For more information on yubihsm-connector, see:

https://developers.yubico.com/YubiHSM2/Component_Reference/yubihsm-connector/

Methods

impl HttpConnector
[src]

Create a new HttpConnector with the given configuration

GET /connector/status returning ConnectorStatus

Trait Implementations

impl Clone for HttpConnector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for HttpConnector
[src]

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

impl Debug for HttpConnector
[src]

Formats the value using the given formatter. Read more

impl Connector for HttpConnector
[src]

Open a connection to yubihsm-connector

Check that yubihsm-connector is available and returning status OK

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

impl Into<Box<Connector>> for HttpConnector
[src]

Important traits for Box<R>

Performs the conversion.

Auto Trait Implementations