pub enum ECDSACurve {
SECP256R1 = 1,
SECP384R1 = 2,
SECP521R1 = 3,
}Expand description
An ECDSACurve identifier. You probably will never need to alter or use this value, as it is set inside the Credential for you.
Variants§
SECP256R1 = 1
Identifies this curve as SECP256R1 (X9_62_PRIME256V1 in OpenSSL)
SECP384R1 = 2
Identifies this curve as SECP384R1
SECP521R1 = 3
Identifies this curve as SECP521R1
Trait Implementations§
Source§impl Clone for ECDSACurve
impl Clone for ECDSACurve
Source§fn clone(&self) -> ECDSACurve
fn clone(&self) -> ECDSACurve
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 ECDSACurve
impl Debug for ECDSACurve
Source§impl<'de> Deserialize<'de> for ECDSACurve
impl<'de> Deserialize<'de> for ECDSACurve
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ECDSACurve, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ECDSACurve, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ECDSACurve
impl PartialEq for ECDSACurve
Source§impl Serialize for ECDSACurve
impl Serialize for ECDSACurve
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
Source§impl TryFrom<Nid> for ECDSACurve
impl TryFrom<Nid> for ECDSACurve
Source§type Error = WebauthnError
type Error = WebauthnError
The type returned in the event of a conversion error.
Source§fn try_from(nid: Nid) -> Result<ECDSACurve, <ECDSACurve as TryFrom<Nid>>::Error>
fn try_from(nid: Nid) -> Result<ECDSACurve, <ECDSACurve as TryFrom<Nid>>::Error>
Performs the conversion.
Source§impl TryFrom<i128> for ECDSACurve
impl TryFrom<i128> for ECDSACurve
Source§type Error = WebauthnError
type Error = WebauthnError
The type returned in the event of a conversion error.
Source§fn try_from(u: i128) -> Result<ECDSACurve, <ECDSACurve as TryFrom<i128>>::Error>
fn try_from(u: i128) -> Result<ECDSACurve, <ECDSACurve as TryFrom<i128>>::Error>
Performs the conversion.
impl Eq for ECDSACurve
impl StructuralPartialEq for ECDSACurve
Auto Trait Implementations§
impl Freeze for ECDSACurve
impl RefUnwindSafe for ECDSACurve
impl Send for ECDSACurve
impl Sync for ECDSACurve
impl Unpin for ECDSACurve
impl UnwindSafe for ECDSACurve
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