pub struct YubiKeyHandle<'a> { /* private fields */ }
Expand description

A handle to an open YubiKey.

Implementations

Perform a challenge-response in HMAC-SHA1 mode. If variable is true, and the YubiKey is configured in variable length mode, challenges can be of any length up to 63 bytes. Else, challenges must be exactly 64 bytes long.

Perform a challenge-response in OTP mode. Returns the message from the YubiKey, decrypted.

Write the configuration to the yubikey. Currently only works with yubikeys >= 2.2 (this is checked).

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.