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.