Struct tss_esapi::structures::RsaSignature
source · [−]pub struct RsaSignature { /* private fields */ }Expand description
Type holding RSA signature information.
Implementations
sourceimpl 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
sourceimpl Clone for RsaSignature
impl Clone for RsaSignature
sourcefn clone(&self) -> RsaSignature
fn clone(&self) -> RsaSignature
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 RsaSignature
impl Debug for RsaSignature
sourceimpl From<RsaSignature> for TPMS_SIGNATURE_RSA
impl From<RsaSignature> for TPMS_SIGNATURE_RSA
sourcefn from(rsa_signature: RsaSignature) -> Self
fn from(rsa_signature: RsaSignature) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RsaSignature> for RsaSignature
impl PartialEq<RsaSignature> for RsaSignature
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &RsaSignature) -> bool
fn ne(&self, other: &RsaSignature) -> bool
This method tests for !=.
sourceimpl TryFrom<TPMS_SIGNATURE_RSA> for RsaSignature
impl TryFrom<TPMS_SIGNATURE_RSA> for RsaSignature
impl Eq for RsaSignature
impl StructuralEq for RsaSignature
impl StructuralPartialEq for RsaSignature
Auto Trait Implementations
impl RefUnwindSafe for RsaSignature
impl Send for RsaSignature
impl Sync for RsaSignature
impl Unpin for RsaSignature
impl UnwindSafe for RsaSignature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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