Enum jsonwebtoken::Algorithm
[−]
[src]
pub enum Algorithm { HS256, HS384, HS512, RS256, RS384, RS512, }
The algorithms supported for signing/verifying
Variants
HS256
HMAC using SHA-256
HS384
HMAC using SHA-384
HS512
HMAC using SHA-512
RS256
RSASSA-PKCS1-v1_5 using SHA-256
RS384
RSASSA-PKCS1-v1_5 using SHA-384
RS512
RSASSA-PKCS1-v1_5 using SHA-512
Trait Implementations
impl Debug 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, other: &Rhs) -> bool
1.0.0
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