pub struct KeyInfo {
pub kid: u8,
pub key_type: KeyType,
pub key_length: u8,
}Expand description
One key slot from the Key Information Template ('00E0').
v0.9k: the Extended-format key_usage/key_access placeholder fields were
removed — the extended sub-template decode was never implemented, so they
were structurally always None (an extended entry is still detected and
reported via KeyTemplateFormat::Extended).
Fields§
§kid: u8§key_type: KeyType§key_length: u8Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyInfo
impl RefUnwindSafe for KeyInfo
impl Send for KeyInfo
impl Sync for KeyInfo
impl Unpin for KeyInfo
impl UnsafeUnpin for KeyInfo
impl UnwindSafe for KeyInfo
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