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

pub struct OctetKeyPairParameters {
    pub key_type: OctetKeyPairType,
    pub curve: EllipticCurve,
    pub x: Vec<u8, Global>,
    pub d: Option<Vec<u8, Global>>,
}

Parameters for an Octet Key Pair

Fields

key_type: OctetKeyPairType

Key type value for an Octet Key Pair

curve: EllipticCurve

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

x: Vec<u8, Global>

The “x” parameter contains the base64 encoded public key

d: Option<Vec<u8, Global>>

The “d” parameter contains the base64 encoded private key

Trait Implementations

impl Clone for OctetKeyPairParameters[src]

impl Default for OctetKeyPairParameters[src]

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

impl Eq for OctetKeyPairParameters[src]

impl PartialEq<OctetKeyPairParameters> for OctetKeyPairParameters[src]

impl Serialize for OctetKeyPairParameters[src]

impl StructuralEq for OctetKeyPairParameters[src]

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