[−][src]Enum tss_esapi::utils::AsymSchemeUnion
Rust enum representation of TPMU_ASYM_SCHEME
.
Variants
ECDH(HashingAlgorithm)
ECMQV(HashingAlgorithm)
RSASSA(HashingAlgorithm)
RSAPSS(HashingAlgorithm)
ECDSA(HashingAlgorithm)
ECDAA(HashingAlgorithm, u16)
SM2(HashingAlgorithm)
ECSchnorr(HashingAlgorithm)
RSAOAEP(HashingAlgorithm)
AnySig(Option<HashingAlgorithm>)
Implementations
impl AsymSchemeUnion
[src]
pub fn scheme_id(self) -> TPM2_ALG_ID
[src]
Get scheme ID.
pub fn get_rsa_decrypt_struct(self) -> TPMT_RSA_DECRYPT
[src]
Convert scheme object to TPMT_RSA_DECRYPT
.
pub fn is_signing(self) -> bool
[src]
pub fn is_decryption(self) -> bool
[src]
pub fn is_rsa(self) -> bool
[src]
pub fn is_ecc(self) -> bool
[src]
Trait Implementations
impl Clone for AsymSchemeUnion
[src]
fn clone(&self) -> AsymSchemeUnion
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AsymSchemeUnion
[src]
impl Debug for AsymSchemeUnion
[src]
Auto Trait Implementations
impl RefUnwindSafe for AsymSchemeUnion
impl Send for AsymSchemeUnion
impl Sync for AsymSchemeUnion
impl Unpin for AsymSchemeUnion
impl UnwindSafe for AsymSchemeUnion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Free for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,