Struct yubihsm::session::Session [] [src]

pub struct Session<'a> { /* fields omitted */ }

Encrypted session with the YubiHSM2

Methods

impl<'a> Session<'a>
[src]

[src]

Create a new encrypted session using the given auth key and password

Blink the YubiHSM2's LEDs (to identify it) for the given number of seconds

[src]

Delete an object of the given ID and type

[src]

Have the card echo an input message

[src]

Generate a new asymmetric key within the YubiHSM2

[src]

Get information about an object

[src]

Get the public key for an asymmetric key stored on the device

See GetPubKeyResponse for more information about public key formats

[src]

Get the current session ID

[src]

List objects visible from the current session

[src]

Compute an Ed25519 signature with the given key ID

Trait Implementations

Auto Trait Implementations

impl<'a> Send for Session<'a>

impl<'a> Sync for Session<'a>