Enum didcomm_rs::KeyAlgorithm[][src]

pub enum KeyAlgorithm {
    HS256,
    HS384,
    HS512,
    RS256,
    RS384,
    RS512,
    ES256,
    ES384,
    ES512,
    PS384,
    PS512,
    RSA1_5,
    RsaOaep,
    RsaOaep256,
    A128KW,
    A256KW,
    Dir,
    EcdhEs,
    EcdhEsPlusA128kw,
    EcdhEsPulsA192kw,
    EcdhEsA256kw,
    A128GCMKW,
    A192GCMKW,
    A256GCMKW,
    Pbes2Hs256A128kw,
    Pbes2Hs384A192kw,
    Pbes2Hs512A256kw,
    EdDsa,
    None,
}

alg field values provided by RFC

Variants

HS256
HS384
HS512
RS256
RS384
RS512
ES256
ES384
ES512
PS384
PS512
RSA1_5
RsaOaep
RsaOaep256
A128KW
A256KW
Dir
EcdhEs
EcdhEsPlusA128kw
EcdhEsPulsA192kw
EcdhEsA256kw
A128GCMKW
A192GCMKW
A256GCMKW
Pbes2Hs256A128kw
Pbes2Hs384A192kw
Pbes2Hs512A256kw
EdDsa
None

Trait Implementations

impl Clone for KeyAlgorithm[src]

impl Debug for KeyAlgorithm[src]

impl Default for KeyAlgorithm[src]

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

impl PartialEq<KeyAlgorithm> for KeyAlgorithm[src]

impl Serialize for KeyAlgorithm[src]

impl StructuralPartialEq for KeyAlgorithm[src]

impl ToString for KeyAlgorithm[src]

Auto Trait Implementations

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> Conv for T

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

impl<T> FmtForward for T

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

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

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

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>,