Struct tss_esapi::structures::HashScheme
source · pub struct HashScheme { /* private fields */ }Expand description
Struct for holding the hash scheme
Implementations§
source§impl HashScheme
impl HashScheme
sourcepub const fn new(hashing_algorithm: HashingAlgorithm) -> HashScheme
pub const fn new(hashing_algorithm: HashingAlgorithm) -> HashScheme
Creates a new HashScheme
sourcepub const fn hashing_algorithm(&self) -> HashingAlgorithm
pub const fn hashing_algorithm(&self) -> HashingAlgorithm
Returns the hashing algorithm
Trait Implementations§
source§impl Clone for HashScheme
impl Clone for HashScheme
source§fn clone(&self) -> HashScheme
fn clone(&self) -> HashScheme
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 HashScheme
impl Debug for HashScheme
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<HashScheme> for TPMS_SCHEME_HASH
impl From<HashScheme> for TPMS_SCHEME_HASH
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 Hash for HashScheme
impl Hash for HashScheme
source§impl PartialEq<HashScheme> for HashScheme
impl PartialEq<HashScheme> for HashScheme
source§fn eq(&self, other: &HashScheme) -> bool
fn eq(&self, other: &HashScheme) -> bool
This method tests for
self and other values to be equal, and is used
by ==.