Struct yubico::otpmode::Otp[][src]

#[repr(C)] #[repr(packed)]
pub struct Otp { pub uid: [u8; 6], pub use_counter: u16, pub timestamp: [u8; 3], pub session_counter: u8, pub random_number: u16, pub crc: u16, }

Fields

The private ID, XORed with the challenge.

A counter incremented each time the YubiKey is powered up.

A timestamp, encoded little-endian, starting from the time the YubiKey is powered up.

A counter incremented with each response.

A random number (not cryptographically strong).

CRC of the other fields.

Trait Implementations

impl Default for Otp
[src]

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

Auto Trait Implementations

impl Send for Otp

impl Sync for Otp