#[repr(u32)]pub enum AeaProfile {
HkdfSha256HmacNoneEcdsaP256 = 0,
HkdfSha256AesctrHmacSymmetricNone = 1,
HkdfSha256AesctrHmacSymmetricEcdsaP256 = 2,
HkdfSha256AesctrHmacEcdheP256None = 3,
HkdfSha256AesctrHmacEcdheP256EcdsaP256 = 4,
HkdfSha256AesctrHmacScryptNone = 5,
}Expand description
Wraps AEA profile identifiers.
Variants§
HkdfSha256HmacNoneEcdsaP256 = 0
Wraps the HkdfSha256HmacNoneEcdsaP256 variant of AeaProfile.
HkdfSha256AesctrHmacSymmetricNone = 1
Wraps the HkdfSha256AesctrHmacSymmetricNone variant of AeaProfile.
HkdfSha256AesctrHmacSymmetricEcdsaP256 = 2
Wraps the HkdfSha256AesctrHmacSymmetricEcdsaP256 variant of AeaProfile.
HkdfSha256AesctrHmacEcdheP256None = 3
Wraps the HkdfSha256AesctrHmacEcdheP256None variant of AeaProfile.
HkdfSha256AesctrHmacEcdheP256EcdsaP256 = 4
Wraps the HkdfSha256AesctrHmacEcdheP256EcdsaP256 variant of AeaProfile.
HkdfSha256AesctrHmacScryptNone = 5
Wraps the HkdfSha256AesctrHmacScryptNone variant of AeaProfile.
Implementations§
Source§impl AeaProfile
impl AeaProfile
Sourcepub const fn ciphersuite(self) -> AeaCiphersuite
pub const fn ciphersuite(self) -> AeaCiphersuite
Wraps the ciphersuite encoded by an AEA profile.
Sourcepub const fn signature_mode(self) -> AeaSignatureMode
pub const fn signature_mode(self) -> AeaSignatureMode
Wraps the signature mode encoded by an AEA profile.
Sourcepub const fn encryption_mode(self) -> AeaEncryptionMode
pub const fn encryption_mode(self) -> AeaEncryptionMode
Wraps the encryption mode encoded by an AEA profile.
Trait Implementations§
Source§impl Clone for AeaProfile
impl Clone for AeaProfile
Source§fn clone(&self) -> AeaProfile
fn clone(&self) -> AeaProfile
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 moreimpl Copy for AeaProfile
Source§impl Debug for AeaProfile
impl Debug for AeaProfile
impl Eq for AeaProfile
Source§impl Hash for AeaProfile
impl Hash for AeaProfile
Source§impl PartialEq for AeaProfile
impl PartialEq for AeaProfile
Source§fn eq(&self, other: &AeaProfile) -> bool
fn eq(&self, other: &AeaProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AeaProfile
Auto Trait Implementations§
impl Freeze for AeaProfile
impl RefUnwindSafe for AeaProfile
impl Send for AeaProfile
impl Sync for AeaProfile
impl Unpin for AeaProfile
impl UnsafeUnpin for AeaProfile
impl UnwindSafe for AeaProfile
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