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

pub enum EllipticCurve {
    P256,
    P384,
    P521,
}

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

Variants

P-256 curve

P-384 curve

P-521 curve -- unsupported by ring.

Trait Implementations

impl Clone for EllipticCurve
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EllipticCurve
[src]

Formats the value using the given formatter.

impl Eq for EllipticCurve
[src]

impl PartialEq for EllipticCurve
[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 EllipticCurve
[src]

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