Enum jsonwebtoken::Algorithm [−][src]
pub enum Algorithm {
HS256,
HS384,
HS512,
RS256,
RS384,
RS512,
}The algorithms supported for signing/verifying
Variants
HS256HMAC using SHA-256
HS384HMAC using SHA-384
HS512HMAC using SHA-512
RS256RSASSA-PKCS1-v1_5 using SHA-256
RS384RSASSA-PKCS1-v1_5 using SHA-384
RS512RSASSA-PKCS1-v1_5 using SHA-512
Trait Implementations
impl Debug for Algorithm[src]
impl Debug for Algorithmfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Algorithm[src]
impl PartialEq for Algorithmfn eq(&self, other: &Algorithm) -> bool[src]
fn eq(&self, other: &Algorithm) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Copy for Algorithm[src]
impl Copy for Algorithmimpl Clone for Algorithm[src]
impl Clone for Algorithmfn clone(&self) -> Algorithm[src]
fn clone(&self) -> AlgorithmReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for Algorithm[src]
impl Default for Algorithm