[][src]Enum picky::jose::jws::JwsAlg

pub enum JwsAlg {
    HS256,
    HS384,
    HS512,
    RS256,
    RS384,
    RS512,
    ES256,
    ES384,
    ES512,
    PS256,
    PS384,
    PS512,
}

Variants

HS256

HMAC using SHA-256 (unsupported)

Required by RFC

HS384

HMAC using SHA-384 (unsupported)

HS512

HMAC using SHA-512 (unsupported)

RS256

RSASSA-PKCS-v1_5 using SHA-256

Recommended by RFC

RS384

RSASSA-PKCS-v1_5 using SHA-384

RS512

RSASSA-PKCS-v1_5 using SHA-512

ES256

ECDSA using P-256 and SHA-256 (unsupported)

Recommended+ by RFC

ES384

ECDSA using P-384 and SHA-384 (unsupported)

ES512

ECDSA using P-521 and SHA-512 (unsupported)

PS256

RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (unsupported)

PS384

RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (unsupported)

PS512

RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (unsupported)

Trait Implementations

impl Clone for JwsAlg[src]

impl Copy for JwsAlg[src]

impl Debug for JwsAlg[src]

impl<'de> Deserialize<'de> for JwsAlg[src]

impl Eq for JwsAlg[src]

impl Hash for JwsAlg[src]

impl PartialEq<JwsAlg> for JwsAlg[src]

impl Serialize for JwsAlg[src]

impl StructuralEq for JwsAlg[src]

impl StructuralPartialEq for JwsAlg[src]

impl TryFrom<JwsAlg> for SignatureAlgorithm[src]

type Error = SignatureError

The type returned in the event of a conversion error.

impl TryFrom<SignatureAlgorithm> for JwsAlg[src]

type Error = SignatureError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for JwsAlg

impl Send for JwsAlg

impl Sync for JwsAlg

impl Unpin for JwsAlg

impl UnwindSafe for JwsAlg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,