Enum jsonwebtoken::Algorithm [] [src]

pub enum Algorithm {
    HS256,
    HS384,
    HS512,
    RS256,
    RS384,
    RS512,
}

The algorithms supported for signing/verifying

Variants

HMAC using SHA-256

HMAC using SHA-384

HMAC using SHA-512

RSASSA-PKCS1-v1_5 using SHA-256

RSASSA-PKCS1-v1_5 using SHA-384

RSASSA-PKCS1-v1_5 using SHA-512

Trait Implementations

impl Debug for Algorithm
[src]

Formats the value using the given formatter.

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

impl Default for Algorithm
[src]

Returns the "default value" for a type. Read more