Struct yubikey::config::Config [] [src]

pub struct Config {
    pub fixed: [u8; 16],
    pub uid: [u8; 6],
    pub key: [u8; 16],
    pub acc_code: [u8; 6],
    pub fixed_size: u8,
    pub ext_flags: ExtendedFlags,
    pub tkt_flags: TicketFlags,
    pub cfg_flags: ConfigFlags,
    pub rfu: [u8; 2],
    pub crc: u16,
}

The configuration of a YubiKey.

Fields

Methods

impl Config
[src]

Sets the configuration in challenge-response, HMAC-SHA1 mode. This mode has two sub-modes: if variable is true, the challenges can be of variable length up to 63 bytes. Else, all challenges must be exactly 64 bytes long.

Sets the configuration in challenge-response, OTP mode.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter.

impl Default for Config
[src]

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