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

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

Parameters for an Elliptic Curve Key

Fields

Key type value for an Elliptic Curve Key.

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

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

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

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

Trait Implementations

impl Clone for EllipticCurveKeyParameters
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for EllipticCurveKeyParameters
[src]

impl PartialEq for EllipticCurveKeyParameters
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for EllipticCurveKeyParameters
[src]

Returns the "default value" for a type. Read more