Struct webauthn_rs::prelude::COSEEC2Key
source · pub struct COSEEC2Key {
pub curve: ECDSACurve,
pub x: Base64UrlSafeData,
pub y: Base64UrlSafeData,
}
Expand description
A COSE Elliptic Curve Public Key. This is generally the provided credential that an authenticator registers, and is used to authenticate the user. You will likely never need to interact with this value, as it is part of the Credential API.
Fields§
§curve: ECDSACurve
The curve that this key references.
x: Base64UrlSafeData
The key’s public X coordinate.
y: Base64UrlSafeData
The key’s public Y coordinate.
Trait Implementations§
source§impl Clone for COSEEC2Key
impl Clone for COSEEC2Key
source§fn clone(&self) -> COSEEC2Key
fn clone(&self) -> COSEEC2Key
Returns a copy 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 COSEEC2Key
impl Debug for COSEEC2Key
source§impl<'de> Deserialize<'de> for COSEEC2Key
impl<'de> Deserialize<'de> for COSEEC2Key
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<COSEEC2Key, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<COSEEC2Key, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for COSEEC2Key
impl PartialEq for COSEEC2Key
source§fn eq(&self, other: &COSEEC2Key) -> bool
fn eq(&self, other: &COSEEC2Key) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for COSEEC2Key
impl Serialize for COSEEC2Key
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for COSEEC2Key
impl StructuralEq for COSEEC2Key
impl StructuralPartialEq for COSEEC2Key
Auto Trait Implementations§
impl RefUnwindSafe for COSEEC2Key
impl Send for COSEEC2Key
impl Sync for COSEEC2Key
impl Unpin for COSEEC2Key
impl UnwindSafe for COSEEC2Key
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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