Enum biscuit::jwk::KeyType
[−]
[src]
pub enum KeyType { EllipticCurve, RSA, Octect, OctectKeyPair, }
Type of Key as specified in RFC 7518.
Variants
EllipticCurve
Elliptic curve keys
RSA
RSA Key
Octect
Octet sequence, representing symmetric keys
OctectKeyPair
Octet string key pairs
Methods
impl KeyType
[src]
fn description(&self) -> &'static str
[src]
Description of the type of key
Trait Implementations
impl Debug for KeyType
[src]
impl Eq for KeyType
[src]
impl PartialEq for KeyType
[src]
fn eq(&self, __arg_0: &KeyType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for KeyType
[src]
impl Clone for KeyType
[src]
fn clone(&self) -> KeyType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more