pub struct SecurityKeyInfo {
pub label: String,
pub credential_id: Vec<u8>,
pub rp_id: String,
pub public_key: Vec<u8>,
pub comment: Option<String>,
}Expand description
Metadata for a stored hardware security key credential.
Fields§
§label: StringKey label (e.g. "github-personal").
credential_id: Vec<u8>Opaque credential identifier returned by the TPM at make-credential time. Required for get-assertion calls.
rp_id: StringFIDO2 Relying Party ID used when the credential was created.
public_key: Vec<u8>Uncompressed SEC1 P-256 public key: 0x04 || X (32 bytes) || Y (32 bytes).
comment: Option<String>Human-readable comment (e.g. "user@host"), if set at generation time.
Trait Implementations§
Source§impl Clone for SecurityKeyInfo
impl Clone for SecurityKeyInfo
Source§fn clone(&self) -> SecurityKeyInfo
fn clone(&self) -> SecurityKeyInfo
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 moreAuto Trait Implementations§
impl Freeze for SecurityKeyInfo
impl RefUnwindSafe for SecurityKeyInfo
impl Send for SecurityKeyInfo
impl Sync for SecurityKeyInfo
impl Unpin for SecurityKeyInfo
impl UnsafeUnpin for SecurityKeyInfo
impl UnwindSafe for SecurityKeyInfo
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