d55079f9a6
* Enable library users to detect if a smart card doesn't support PIV Closes iqlusioninc/yubikey.rs#456. * Avoid resetting the card if we fail to select PIV or fetch version/serial
6 lines
226 B
Rust
6 lines
226 B
Rust
/// YubiKey OTP Applet Name
|
|
pub(crate) const APPLET_NAME: &str = "YubiKey OTP";
|
|
|
|
/// YubiKey OTP Applet ID. Needed to query serial on YK4.
|
|
pub(crate) const APPLET_ID: &[u8] = &[0xa0, 0x00, 0x00, 0x05, 0x27, 0x20, 0x01, 0x01];
|