pub struct PivSlotInfo {
pub slot: PivSlot,
pub algorithm: Option<KeyAlgorithm>,
pub has_certificate: bool,
pub origin: PivKeyOrigin,
}Expand description
Metadata about a populated PIV slot.
Fields§
§slot: PivSlotThe PIV slot identifier.
algorithm: Option<KeyAlgorithm>Key algorithm in this slot (if known).
has_certificate: boolWhether a certificate is stored in this slot. PIV associates one X.509 certificate with each key slot. [NIST SP 800-73-5 Part 1, §3.2]
origin: PivKeyOriginOrigin of the key in this slot.
Trait Implementations§
Source§impl Clone for PivSlotInfo
impl Clone for PivSlotInfo
Source§impl Debug for PivSlotInfo
impl Debug for PivSlotInfo
Source§impl<'de> Deserialize<'de> for PivSlotInfo
impl<'de> Deserialize<'de> for PivSlotInfo
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 PivSlotInfo
impl RefUnwindSafe for PivSlotInfo
impl Send for PivSlotInfo
impl Sync for PivSlotInfo
impl Unpin for PivSlotInfo
impl UnsafeUnpin for PivSlotInfo
impl UnwindSafe for PivSlotInfo
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