pub enum KeyAgreementAlgorithm {
EcdhEs,
X25519,
DhEs,
LegacyDh,
}Expand description
Agreement mechanisms identified by their XML algorithm URI.
Variants§
EcdhEs
Named-curve ECDH-ES.
X25519
RFC 7748 X25519.
DhEs
Finite-field DH-ES with a separate KDF.
LegacyDh
Legacy finite-field DH and its SHA-based derivation.
Implementations§
Trait Implementations§
Source§impl Clone for KeyAgreementAlgorithm
impl Clone for KeyAgreementAlgorithm
impl Copy for KeyAgreementAlgorithm
Source§impl Debug for KeyAgreementAlgorithm
impl Debug for KeyAgreementAlgorithm
impl Eq for KeyAgreementAlgorithm
Source§impl Hash for KeyAgreementAlgorithm
impl Hash for KeyAgreementAlgorithm
Source§impl PartialEq for KeyAgreementAlgorithm
impl PartialEq for KeyAgreementAlgorithm
impl StructuralPartialEq for KeyAgreementAlgorithm
Auto Trait Implementations§
impl Freeze for KeyAgreementAlgorithm
impl RefUnwindSafe for KeyAgreementAlgorithm
impl Send for KeyAgreementAlgorithm
impl Sync for KeyAgreementAlgorithm
impl Unpin for KeyAgreementAlgorithm
impl UnsafeUnpin for KeyAgreementAlgorithm
impl UnwindSafe for KeyAgreementAlgorithm
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more