elliptic_curve

Trait JwkParameters

Source
pub trait JwkParameters: Curve {
    const CRV: &'static str;
}
Available on crate feature jwk only.
Expand description

Elliptic curve parameters used by JSON Web Keys.

Required Associated Constants§

Source

const CRV: &'static str

The crv parameter which identifies a particular elliptic curve as defined in RFC 7518 Section 6.2.1.1: https://tools.ietf.org/html/rfc7518#section-6.2.1.1

Curve values are registered in the IANA “JSON Web Key Elliptic Curve” registry defined in RFC 7518 Section 7.6: https://tools.ietf.org/html/rfc7518#section-7.6

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§