Enum tss_esapi::structures::RsaDecryptionScheme
source · [−]pub enum RsaDecryptionScheme {
RsaEs,
Oaep(HashScheme),
Null,
}
Expand description
Variants
RsaEs
Oaep(HashScheme)
Null
Implementations
sourceimpl RsaDecryptionScheme
impl RsaDecryptionScheme
sourcepub fn create(
rsa_decrypt_algorithm: RsaDecryptAlgorithm,
hashing_algorithm: Option<HashingAlgorithm>
) -> Result<RsaDecryptionScheme>
pub fn create(
rsa_decrypt_algorithm: RsaDecryptAlgorithm,
hashing_algorithm: Option<HashingAlgorithm>
) -> Result<RsaDecryptionScheme>
Creates a new rsa decrypt scheme
sourcepub fn algorithm(&self) -> RsaDecryptAlgorithm
pub fn algorithm(&self) -> RsaDecryptAlgorithm
Returns the rsa decrypt scheme algorithm
Trait Implementations
sourceimpl Clone for RsaDecryptionScheme
impl Clone for RsaDecryptionScheme
sourcefn clone(&self) -> RsaDecryptionScheme
fn clone(&self) -> RsaDecryptionScheme
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 RsaDecryptionScheme
impl Debug for RsaDecryptionScheme
sourceimpl From<RsaDecryptionScheme> for TPMT_RSA_DECRYPT
impl From<RsaDecryptionScheme> for TPMT_RSA_DECRYPT
sourcefn from(rsa_decryption_scheme: RsaDecryptionScheme) -> Self
fn from(rsa_decryption_scheme: RsaDecryptionScheme) -> Self
Performs the conversion.
sourceimpl TryFrom<RsaScheme> for RsaDecryptionScheme
impl TryFrom<RsaScheme> for RsaDecryptionScheme
sourceimpl TryFrom<TPMT_RSA_DECRYPT> for RsaDecryptionScheme
impl TryFrom<TPMT_RSA_DECRYPT> for RsaDecryptionScheme
impl Copy for RsaDecryptionScheme
Auto Trait Implementations
impl RefUnwindSafe for RsaDecryptionScheme
impl Send for RsaDecryptionScheme
impl Sync for RsaDecryptionScheme
impl Unpin for RsaDecryptionScheme
impl UnwindSafe for RsaDecryptionScheme
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