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 for HmacScheme
impl PartialEq 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 ==
.source§impl TryFrom<TPMS_SCHEME_HASH> for HmacScheme
impl TryFrom<TPMS_SCHEME_HASH> for HmacScheme
impl Copy for HmacScheme
impl Eq for HmacScheme
impl StructuralPartialEq for HmacScheme
Auto Trait Implementations§
impl Freeze for HmacScheme
impl RefUnwindSafe for HmacScheme
impl Send for HmacScheme
impl Sync for HmacScheme
impl Unpin for HmacScheme
impl UnwindSafe for HmacScheme
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