Enum jsonwebtoken::jwk::EllipticCurve
source · pub enum EllipticCurve {
P256,
P384,
P521,
Ed25519,
}Expand description
Type of cryptographic curve used by a key. This is defined in RFC 7518 #7.6
Variants§
Trait Implementations§
source§impl Clone for EllipticCurve
impl Clone for EllipticCurve
source§fn clone(&self) -> EllipticCurve
fn clone(&self) -> EllipticCurve
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 EllipticCurve
impl Debug for EllipticCurve
source§impl Default for EllipticCurve
impl Default for EllipticCurve
source§impl<'de> Deserialize<'de> for EllipticCurve
impl<'de> Deserialize<'de> for EllipticCurve
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 Hash for EllipticCurve
impl Hash for EllipticCurve
source§impl PartialEq<EllipticCurve> for EllipticCurve
impl PartialEq<EllipticCurve> for EllipticCurve
source§fn eq(&self, other: &EllipticCurve) -> bool
fn eq(&self, other: &EllipticCurve) -> bool
This method tests for
self and other values to be equal, and is used
by ==.