Enum biscuit::jwa::Algorithm [] [src]

pub enum Algorithm {
    Signature(SignatureAlgorithm),
    KeyManagement(KeyManagementAlgorithm),
    ContentEncryption(ContentEncryptionAlgorithm),
}

Algorithms described by RFC 7518. This enum is serialized untagged.

Variants

Algorithms meant for Digital signature or MACs See RFC7518#3

Algorithms meant for key management. The algorithms are either meant to encrypt a content encryption key or determine the content encryption key. See RFC7518#4

Algorithms meant for content encryption. See RFC7518#5

Trait Implementations

impl Debug for Algorithm
[src]

Formats the value using the given formatter.

impl Eq for Algorithm
[src]

impl PartialEq for Algorithm
[src]

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

This method tests for !=.

impl Copy for Algorithm
[src]

impl Clone for Algorithm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more