Enum tss_esapi::structures::RsaDecryptionScheme
source · pub enum RsaDecryptionScheme {
RsaEs,
Oaep(HashScheme),
Null,
}
Expand description
Variants§
Implementations§
source§impl 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§
source§impl Clone for RsaDecryptionScheme
impl Clone for RsaDecryptionScheme
source§fn clone(&self) -> RsaDecryptionScheme
fn clone(&self) -> RsaDecryptionScheme
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 RsaDecryptionScheme
impl Debug for RsaDecryptionScheme
source§impl From<RsaDecryptionScheme> for TPMT_RSA_DECRYPT
impl From<RsaDecryptionScheme> for TPMT_RSA_DECRYPT
source§fn from(rsa_decryption_scheme: RsaDecryptionScheme) -> Self
fn from(rsa_decryption_scheme: RsaDecryptionScheme) -> Self
Converts to this type from the input type.
source§impl TryFrom<RsaScheme> for RsaDecryptionScheme
impl TryFrom<RsaScheme> for RsaDecryptionScheme
impl Copy for RsaDecryptionScheme
Auto Trait Implementations§
impl Freeze for RsaDecryptionScheme
impl RefUnwindSafe for RsaDecryptionScheme
impl Send for RsaDecryptionScheme
impl Sync for RsaDecryptionScheme
impl Unpin for RsaDecryptionScheme
impl UnwindSafe for RsaDecryptionScheme
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more