Enum tss_esapi::structures::Sensitive
source · [−]pub enum Sensitive {
Rsa {
auth_value: Auth,
seed_value: Digest,
sensitive: PrivateKeyRsa,
},
Ecc {
auth_value: Auth,
seed_value: Digest,
sensitive: EccParameter,
},
Bits {
auth_value: Auth,
seed_value: Digest,
sensitive: SensitiveData,
},
Symmetric {
auth_value: Auth,
seed_value: Digest,
sensitive: SymmetricKey,
},
}
Expand description
Variants
Rsa
Ecc
Bits
Symmetric
Implementations
sourceimpl Sensitive
impl Sensitive
sourcepub fn auth_value(&self) -> &Auth
pub fn auth_value(&self) -> &Auth
Get the authentication value of the object
sourcepub fn seed_value(&self) -> &Digest
pub fn seed_value(&self) -> &Digest
Get the seed value of the object
pub fn sensitive_type(&self) -> PublicAlgorithm
Trait Implementations
sourceimpl From<Sensitive> for TPMT_SENSITIVE
impl From<Sensitive> for TPMT_SENSITIVE
sourceimpl TryFrom<Sensitive> for SensitiveBuffer
impl TryFrom<Sensitive> for SensitiveBuffer
sourceimpl TryFrom<Sensitive> for TPM2B_SENSITIVE
impl TryFrom<Sensitive> for TPM2B_SENSITIVE
sourceimpl TryFrom<SensitiveBuffer> for Sensitive
impl TryFrom<SensitiveBuffer> for Sensitive
sourceimpl TryFrom<TPM2B_SENSITIVE> for Sensitive
impl TryFrom<TPM2B_SENSITIVE> for Sensitive
sourceimpl TryFrom<TPMT_SENSITIVE> for Sensitive
impl TryFrom<TPMT_SENSITIVE> for Sensitive
sourceimpl UnMarshall for Sensitive
impl UnMarshall for Sensitive
impl Eq for Sensitive
impl StructuralEq for Sensitive
impl StructuralPartialEq for Sensitive
Auto Trait Implementations
impl RefUnwindSafe for Sensitive
impl Send for Sensitive
impl Sync for Sensitive
impl Unpin for Sensitive
impl UnwindSafe for Sensitive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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