Struct biscuit::jwk::JWK [] [src]

pub struct JWK<T> {
    pub common: CommonParameters,
    pub algorithm: AlgorithmParameters,
    pub additional: T,
}

A JSON object that represents a cryptographic key. The members of the object represent properties of the key, including its value. Type T is a struct representing additional JWK properties

Fields

Common JWK parameters

Key algorithm specific parameters

Additional JWK parameters

Methods

impl<T: Serialize + DeserializeOwned> JWK<T>
[src]

Convenience to create a new bare-bones Octect key

Convenience function to strip out the additional fields

Returns the type of key represented by this key

Return the byte sequence of an octect key

Trait Implementations

impl<T: Clone> Clone for JWK<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for JWK<T>
[src]

Formats the value using the given formatter.

impl<T: Eq> Eq for JWK<T>
[src]

impl<T: PartialEq> PartialEq for JWK<T>
[src]

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

This method tests for !=.

impl<T: Serialize> Serialize for JWK<T>
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de, T> Deserialize<'de> for JWK<T> where
    T: Deserialize<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more