Enum biscuit::jwk::AlgorithmParameters [] [src]

pub enum AlgorithmParameters {
    EllipticCurve(EllipticCurveKeyParameters),
    RSA(RSAKeyParameters),
    OctectKey {
        key_type: OctectKeyType,
        value: Vec<u8>,
    },
}

Algorithm specific parameters

Variants

An Elliptic Curve key

A RSA Public or Private Key

A symmetric Octect key

Fields of OctectKey

Key type value for an Octect Key

The octect key value

Methods

impl AlgorithmParameters
[src]

Returns the type of key represented by this set of algorithm parameters

Return the byte sequence of an octect key

Trait Implementations

impl Clone for AlgorithmParameters
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for AlgorithmParameters
[src]

impl PartialEq for AlgorithmParameters
[src]

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

This method tests for !=.

impl Debug for AlgorithmParameters
[src]

Formats the value using the given formatter.