Enum didcomm_rs::KeyAlgorithm
source · [−]pub enum KeyAlgorithm {
Show 31 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,
Ecdh1puA256kw,
Ecdh1puXc20pkw,
Pbes2Hs256A128kw,
Pbes2Hs384A192kw,
Pbes2Hs512A256kw,
EdDsa,
None,
}
Expand description
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
Ecdh1puA256kw
Ecdh1puXc20pkw
Pbes2Hs256A128kw
Pbes2Hs384A192kw
Pbes2Hs512A256kw
EdDsa
None
Trait Implementations
sourceimpl Clone for KeyAlgorithm
impl Clone for KeyAlgorithm
sourcefn clone(&self) -> KeyAlgorithm
fn clone(&self) -> KeyAlgorithm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeyAlgorithm
impl Debug for KeyAlgorithm
sourceimpl Default for KeyAlgorithm
impl Default for KeyAlgorithm
sourceimpl<'de> Deserialize<'de> for KeyAlgorithm
impl<'de> Deserialize<'de> for KeyAlgorithm
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<KeyAlgorithm> for KeyAlgorithm
impl PartialEq<KeyAlgorithm> for KeyAlgorithm
sourceimpl Serialize for KeyAlgorithm
impl Serialize for KeyAlgorithm
sourceimpl ToString for KeyAlgorithm
impl ToString for KeyAlgorithm
impl StructuralPartialEq for KeyAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for KeyAlgorithm
impl Send for KeyAlgorithm
impl Sync for KeyAlgorithm
impl Unpin for KeyAlgorithm
impl UnwindSafe for KeyAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more