pub struct GenAuth {
pub algorithm: u8,
pub key_ref: u8,
pub auth_template: Vec<u8>,
}Expand description
osdp_GENAUTH body. Generic authenticate sub-command for PIV.
Fields§
§algorithm: u8Algorithm reference (PIV §3.2.4).
key_ref: u8Key reference.
auth_template: Vec<u8>Encoded TLV authentication template.
Implementations§
Trait Implementations§
impl Eq for GenAuth
impl StructuralPartialEq for GenAuth
Auto Trait Implementations§
impl Freeze for GenAuth
impl RefUnwindSafe for GenAuth
impl Send for GenAuth
impl Sync for GenAuth
impl Unpin for GenAuth
impl UnsafeUnpin for GenAuth
impl UnwindSafe for GenAuth
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