Struct openpgp_card::card_do::KeyInformation
source · [−]pub struct KeyInformation(_);
Expand description
4.4.3.8 Key Information
Implementations
sourceimpl KeyInformation
impl KeyInformation
sourcepub fn num_additional(&self) -> usize
pub fn num_additional(&self) -> usize
How many “additional” keys do we have information for?
pub fn sig_ref(&self) -> u8
pub fn sig_status(&self) -> KeyStatus
pub fn dec_ref(&self) -> u8
pub fn dec_status(&self) -> KeyStatus
pub fn aut_ref(&self) -> u8
pub fn aut_status(&self) -> KeyStatus
pub fn additional_ref(&self, num: usize) -> u8
pub fn additional_status(&self, num: usize) -> KeyStatus
Trait Implementations
sourceimpl Display for KeyInformation
impl Display for KeyInformation
Auto Trait Implementations
impl RefUnwindSafe for KeyInformation
impl Send for KeyInformation
impl Sync for KeyInformation
impl Unpin for KeyInformation
impl UnwindSafe for KeyInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more