#[non_exhaustive]pub enum KariKeyAgreement {
StdDhSha256Kdf,
StdDhSha384Kdf,
}Expand description
ECDH key derivation scheme used in KeyAgreeRecipientInfo (RFC 5753 §7.1.4).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StdDhSha256Kdf
dhSinglePass-stdDH-sha256kdf-scheme — P-256 with X9.63 KDF using SHA-256.
StdDhSha384Kdf
dhSinglePass-stdDH-sha384kdf-scheme — P-384 with X9.63 KDF using SHA-384.
Trait Implementations§
Source§impl Clone for KariKeyAgreement
impl Clone for KariKeyAgreement
Source§fn clone(&self) -> KariKeyAgreement
fn clone(&self) -> KariKeyAgreement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KariKeyAgreement
impl Debug for KariKeyAgreement
Source§impl<'de> Deserialize<'de> for KariKeyAgreement
impl<'de> Deserialize<'de> for KariKeyAgreement
Source§fn 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
Source§impl Display for KariKeyAgreement
impl Display for KariKeyAgreement
impl Eq for KariKeyAgreement
Source§impl PartialEq for KariKeyAgreement
impl PartialEq for KariKeyAgreement
Source§fn eq(&self, other: &KariKeyAgreement) -> bool
fn eq(&self, other: &KariKeyAgreement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KariKeyAgreement
impl Serialize for KariKeyAgreement
impl StructuralPartialEq for KariKeyAgreement
Auto Trait Implementations§
impl Freeze for KariKeyAgreement
impl RefUnwindSafe for KariKeyAgreement
impl Send for KariKeyAgreement
impl Sync for KariKeyAgreement
impl Unpin for KariKeyAgreement
impl UnsafeUnpin for KariKeyAgreement
impl UnwindSafe for KariKeyAgreement
Blanket Implementations§
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