pub enum SecretReference {
Pin,
Puk,
ManagementKey,
AdminPin,
OathAccess,
Pw1Sign,
Pw1Other,
Pw3,
ResetCode,
}Expand description
Credential involved in an authentication error; never contains its bytes.
Variants§
Pin
PIV user PIN.
Puk
PIV PIN unblocking key.
ManagementKey
PIV management key.
AdminPin
Admin applet PIN.
OathAccess
OATH access-code key, distinct from a PIN retry counter.
Pw1Sign
OpenPGP PW1 for signatures (reference 81).
Pw1Other
OpenPGP PW1 for decipher/authentication (reference 82).
Pw3
OpenPGP administrative password (reference 83).
ResetCode
OpenPGP resetting code.
Trait Implementations§
Source§impl Clone for SecretReference
impl Clone for SecretReference
Source§fn clone(&self) -> SecretReference
fn clone(&self) -> SecretReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SecretReference
Source§impl Debug for SecretReference
impl Debug for SecretReference
impl Eq for SecretReference
Source§impl PartialEq for SecretReference
impl PartialEq for SecretReference
impl StructuralPartialEq for SecretReference
Auto Trait Implementations§
impl Freeze for SecretReference
impl RefUnwindSafe for SecretReference
impl Send for SecretReference
impl Sync for SecretReference
impl Unpin for SecretReference
impl UnsafeUnpin for SecretReference
impl UnwindSafe for SecretReference
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