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: 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>
The "x" (x coordinate) parameter contains the x coordinate for the Elliptic Curve point. Serialized to base64 URL encoded
y: Vec<u8>
The "y" (y coordinate) parameter contains the y coordinate for the Elliptic Curve point. Serialized to base64 URL encoded
d: Option<Vec<u8>>
The "d" (ECC private key) parameter contains the Elliptic Curve private key value.
Trait Implementations
impl Clone for EllipticCurveKeyParameters
[src]
fn clone(&self) -> EllipticCurveKeyParameters
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for EllipticCurveKeyParameters
[src]
impl PartialEq for EllipticCurveKeyParameters
[src]
fn eq(&self, __arg_0: &EllipticCurveKeyParameters) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EllipticCurveKeyParameters) -> bool
This method tests for !=
.
impl Default for EllipticCurveKeyParameters
[src]
fn default() -> EllipticCurveKeyParameters
Returns the "default value" for a type. Read more