pub struct AttestedPublicKey {
pub pubkey: PublicKey,
pub extensions: RegisteredExtensions,
pub attestation: ParsedAttestation,
pub attestation_format: AttestationFormat,
}Expand description
An attested public key. This contains the ssh public key as well as the attestation metadata.
Fields§
§pubkey: PublicKeyThe ssh public key
extensions: RegisteredExtensionsThe set of extensions that were verified at registration, that can be used in future authentication attempts
attestation: ParsedAttestationThe parser attestation data
attestation_format: AttestationFormatThe format of the attestation presented by the device.
Trait Implementations§
Source§impl Clone for AttestedPublicKey
impl Clone for AttestedPublicKey
Source§fn clone(&self) -> AttestedPublicKey
fn clone(&self) -> AttestedPublicKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttestedPublicKey
impl Debug for AttestedPublicKey
Source§impl<'de> Deserialize<'de> for AttestedPublicKey
impl<'de> Deserialize<'de> for AttestedPublicKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AttestedPublicKey
impl RefUnwindSafe for AttestedPublicKey
impl Send for AttestedPublicKey
impl Sync for AttestedPublicKey
impl Unpin for AttestedPublicKey
impl UnwindSafe for AttestedPublicKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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