Enum webauthn_rs_core::interface::ECDSACurve
source · [−]pub enum ECDSACurve {
SECP256R1,
SECP384R1,
SECP521R1,
}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
Identifies this curve as SECP256R1 (X9_62_PRIME256V1 in OpenSSL)
SECP384R1
Identifies this curve as SECP384R1
SECP521R1
Identifies this curve as SECP521R1
Trait Implementations
sourceimpl Clone for ECDSACurve
impl Clone for ECDSACurve
sourcefn clone(&self) -> ECDSACurve
fn clone(&self) -> ECDSACurve
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ECDSACurve
impl Debug for ECDSACurve
sourceimpl<'de> Deserialize<'de> for ECDSACurve
impl<'de> Deserialize<'de> for ECDSACurve
sourcefn 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
sourceimpl PartialEq<ECDSACurve> for ECDSACurve
impl PartialEq<ECDSACurve> for ECDSACurve
sourcefn eq(&self, other: &ECDSACurve) -> bool
fn eq(&self, other: &ECDSACurve) -> bool
sourceimpl Serialize for ECDSACurve
impl Serialize for ECDSACurve
sourceimpl TryFrom<Nid> for ECDSACurve
impl TryFrom<Nid> for ECDSACurve
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more