Enum tss_esapi::structures::KeyedHashScheme
source · [−]pub enum KeyedHashScheme {
Xor {
xor_scheme: XorScheme,
},
Hmac {
hmac_scheme: HmacScheme,
},
Null,
}Expand description
Variants
Xor
Fields
xor_scheme: XorSchemeHmac
Fields
hmac_scheme: HmacSchemeNull
Implementations
sourceimpl KeyedHashScheme
impl KeyedHashScheme
pub const HMAC_SHA_256: KeyedHashScheme
Trait Implementations
sourceimpl Clone for KeyedHashScheme
impl Clone for KeyedHashScheme
sourcefn clone(&self) -> KeyedHashScheme
fn clone(&self) -> KeyedHashScheme
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for KeyedHashScheme
impl Debug for KeyedHashScheme
sourceimpl From<KeyedHashScheme> for TPMT_KEYEDHASH_SCHEME
impl From<KeyedHashScheme> for TPMT_KEYEDHASH_SCHEME
sourcefn from(keyed_hash_scheme: KeyedHashScheme) -> Self
fn from(keyed_hash_scheme: KeyedHashScheme) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<KeyedHashScheme> for KeyedHashScheme
impl PartialEq<KeyedHashScheme> for KeyedHashScheme
sourcefn eq(&self, other: &KeyedHashScheme) -> bool
fn eq(&self, other: &KeyedHashScheme) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &KeyedHashScheme) -> bool
fn ne(&self, other: &KeyedHashScheme) -> bool
This method tests for !=.
sourceimpl TryFrom<TPMT_KEYEDHASH_SCHEME> for KeyedHashScheme
impl TryFrom<TPMT_KEYEDHASH_SCHEME> for KeyedHashScheme
sourcefn try_from(
tpmt_keyedhash_scheme: TPMT_KEYEDHASH_SCHEME
) -> Result<KeyedHashScheme>
fn try_from(
tpmt_keyedhash_scheme: TPMT_KEYEDHASH_SCHEME
) -> Result<KeyedHashScheme>
Performs the conversion.
impl Copy for KeyedHashScheme
impl Eq for KeyedHashScheme
impl StructuralEq for KeyedHashScheme
impl StructuralPartialEq for KeyedHashScheme
Auto Trait Implementations
impl RefUnwindSafe for KeyedHashScheme
impl Send for KeyedHashScheme
impl Sync for KeyedHashScheme
impl Unpin for KeyedHashScheme
impl UnwindSafe for KeyedHashScheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more