Struct tss_esapi::structures::RsaSignature
source · pub struct RsaSignature { /* private fields */ }Expand description
Type holding RSA signature information.
For more information about the contents of signature see Annex B
in the Architecture spec.
Implementations§
source§impl RsaSignature
impl RsaSignature
sourcepub fn create(
hashing_algorithm: HashingAlgorithm,
signature: PublicKeyRsa
) -> Result<Self>
pub fn create(
hashing_algorithm: HashingAlgorithm,
signature: PublicKeyRsa
) -> Result<Self>
sourcepub const fn hashing_algorithm(&self) -> HashingAlgorithm
pub const fn hashing_algorithm(&self) -> HashingAlgorithm
Returns the hashing algorithm
sourcepub const fn signature(&self) -> &PublicKeyRsa
pub const fn signature(&self) -> &PublicKeyRsa
Returns the signature
Trait Implementations§
source§impl Clone for RsaSignature
impl Clone for RsaSignature
source§fn clone(&self) -> RsaSignature
fn clone(&self) -> RsaSignature
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 RsaSignature
impl Debug for RsaSignature
source§impl From<RsaSignature> for TPMS_SIGNATURE_RSA
impl From<RsaSignature> for TPMS_SIGNATURE_RSA
source§fn from(rsa_signature: RsaSignature) -> Self
fn from(rsa_signature: RsaSignature) -> Self
Converts to this type from the input type.
source§impl PartialEq<RsaSignature> for RsaSignature
impl PartialEq<RsaSignature> for RsaSignature
source§fn eq(&self, other: &RsaSignature) -> bool
fn eq(&self, other: &RsaSignature) -> bool
This method tests for
self and other values to be equal, and is used
by ==.