Enum webauthn_rs_core::interface::ECDSACurve
source · 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 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 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<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
source§impl From<&ECDSACurve> for Nid
impl From<&ECDSACurve> for Nid
source§fn from(c: &ECDSACurve) -> Self
fn from(c: &ECDSACurve) -> Self
Converts to this type from the input type.
source§impl PartialEq for ECDSACurve
impl PartialEq for ECDSACurve
source§fn eq(&self, other: &ECDSACurve) -> bool
fn eq(&self, other: &ECDSACurve) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ECDSACurve
impl Serialize for ECDSACurve
source§impl TryFrom<Nid> for ECDSACurve
impl TryFrom<Nid> for ECDSACurve
source§impl TryFrom<i128> for ECDSACurve
impl TryFrom<i128> for ECDSACurve
impl Eq for ECDSACurve
impl StructuralEq for ECDSACurve
impl StructuralPartialEq for ECDSACurve
Auto Trait Implementations§
impl RefUnwindSafe for ECDSACurve
impl Send for ECDSACurve
impl Sync for ECDSACurve
impl Unpin for ECDSACurve
impl UnwindSafe for ECDSACurve
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