Struct openid::biscuit::jwk::EllipticCurveKeyParameters[][src]

pub struct EllipticCurveKeyParameters {
    pub key_type: EllipticCurveKeyType,
    pub curve: EllipticCurve,
    pub x: Vec<u8, Global>,
    pub y: Vec<u8, Global>,
    pub d: Option<Vec<u8, Global>>,
}

Parameters for an Elliptic Curve Key

Fields

key_type: EllipticCurveKeyType

Key type value for an Elliptic Curve Key.

curve: EllipticCurve

The “crv” (curve) parameter identifies the cryptographic curve used with the key.

x: Vec<u8, Global>

The “x” (x coordinate) parameter contains the x coordinate for the Elliptic Curve point. Serialized to base64 URL encoded

y: Vec<u8, Global>

The “y” (y coordinate) parameter contains the y coordinate for the Elliptic Curve point. Serialized to base64 URL encoded

d: Option<Vec<u8, Global>>

The “d” (ECC private key) parameter contains the Elliptic Curve private key value.

Trait Implementations

impl Clone for EllipticCurveKeyParameters[src]

impl Default for EllipticCurveKeyParameters[src]

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

impl Eq for EllipticCurveKeyParameters[src]

impl PartialEq<EllipticCurveKeyParameters> for EllipticCurveKeyParameters[src]

impl Serialize for EllipticCurveKeyParameters[src]

impl StructuralEq for EllipticCurveKeyParameters[src]

impl StructuralPartialEq for EllipticCurveKeyParameters[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> Instrument 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.