Struct tss_esapi::structures::HmacScheme
source · pub struct HmacScheme { /* private fields */ }Expand description
Struct for holding HMAC scheme.
Implementations§
source§impl HmacScheme
impl HmacScheme
sourcepub const fn new(hashing_algorithm: HashingAlgorithm) -> HmacScheme
pub const fn new(hashing_algorithm: HashingAlgorithm) -> HmacScheme
Creates a new HmacScheme
Trait Implementations§
source§impl Clone for HmacScheme
impl Clone for HmacScheme
source§fn clone(&self) -> HmacScheme
fn clone(&self) -> HmacScheme
Returns a copy of the value. Read more
1.0.0 · 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 HmacScheme
impl Debug for HmacScheme
source§impl From<HashScheme> for HmacScheme
impl From<HashScheme> for HmacScheme
source§fn from(hash_scheme: HashScheme) -> Self
fn from(hash_scheme: HashScheme) -> Self
Converts to this type from the input type.
source§impl From<HmacScheme> for HashScheme
impl From<HmacScheme> for HashScheme
source§fn from(hmac_scheme: HmacScheme) -> Self
fn from(hmac_scheme: HmacScheme) -> Self
Converts to this type from the input type.
source§impl From<HmacScheme> for TPMS_SCHEME_HMAC
impl From<HmacScheme> for TPMS_SCHEME_HMAC
source§fn from(hash_scheme: HmacScheme) -> Self
fn from(hash_scheme: HmacScheme) -> Self
Converts to this type from the input type.
source§impl Hash for HmacScheme
impl Hash for HmacScheme
source§impl PartialEq<HmacScheme> for HmacScheme
impl PartialEq<HmacScheme> for HmacScheme
source§fn eq(&self, other: &HmacScheme) -> bool
fn eq(&self, other: &HmacScheme) -> bool
This method tests for
self and other values to be equal, and is used
by ==.