[][src]Enum biscuit::jwk::EllipticCurve

pub enum EllipticCurve {
    P256,
    P384,
    P521,
    Curve25519,
    Curve448,
}

Type of cryptographic curve used by a key. This is defined in RFC 7518 #7.6

Variants

P256

P-256 curve

P384

P-384 curve

P521

P-521 curve -- unsupported by ring.

Curve25519

Curve25519

Curve448

Curve448

Trait Implementations

impl Clone for EllipticCurve[src]

impl Debug for EllipticCurve[src]

impl Default for EllipticCurve[src]

impl<'de> Deserialize<'de> for EllipticCurve[src]

impl Eq for EllipticCurve[src]

impl PartialEq<EllipticCurve> for EllipticCurve[src]

impl Serialize for EllipticCurve[src]

impl StructuralEq for EllipticCurve[src]

impl StructuralPartialEq for EllipticCurve[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.