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
Signature(SignatureAlgorithm)
Algorithms meant for Digital signature or MACs See RFC7518#3
KeyManagement(KeyManagementAlgorithm)
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
ContentEncryption(ContentEncryptionAlgorithm)
Algorithms meant for content encryption. See RFC7518#5
Trait Implementations
impl Debug for Algorithm
[src]
impl Eq for Algorithm
[src]
impl PartialEq for Algorithm
[src]
fn eq(&self, __arg_0: &Algorithm) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Algorithm) -> bool
This method tests for !=
.
impl Copy for Algorithm
[src]
impl Clone for Algorithm
[src]
fn clone(&self) -> Algorithm
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more