pub struct YubikeySlotMetadata {
pub pin_policy: PivPinPolicy,
pub touch_policy: PivTouchPolicy,
pub origin: PivKeyOrigin,
pub public_key: Option<PublicKeyDer>,
}Expand description
YubiKey-specific slot metadata (vendor extension, not NIST PIV).
Fields§
§pin_policy: PivPinPolicyPIN policy configured for this slot.
touch_policy: PivTouchPolicyTouch policy configured for this slot.
origin: PivKeyOriginOrigin of the key in this slot.
public_key: Option<PublicKeyDer>Public key, if the slot reports one.
Trait Implementations§
Source§impl Clone for YubikeySlotMetadata
impl Clone for YubikeySlotMetadata
Source§impl Debug for YubikeySlotMetadata
impl Debug for YubikeySlotMetadata
Source§impl<'de> Deserialize<'de> for YubikeySlotMetadata
impl<'de> Deserialize<'de> for YubikeySlotMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for YubikeySlotMetadata
impl RefUnwindSafe for YubikeySlotMetadata
impl Send for YubikeySlotMetadata
impl Sync for YubikeySlotMetadata
impl Unpin for YubikeySlotMetadata
impl UnsafeUnpin for YubikeySlotMetadata
impl UnwindSafe for YubikeySlotMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more