Struct tss_esapi::structures::RsaExponent
source · [−]pub struct RsaExponent { /* private fields */ }Expand description
Structure used to hold the value of a RSA exponent
Implementations
sourceimpl RsaExponent
impl RsaExponent
sourcepub const ZERO_EXPONENT: Self
pub const ZERO_EXPONENT: Self
Empty exponent (internal value is 0), which is treated by TPMs as a shorthand for the default value (2^16 + 1).
Trait Implementations
sourceimpl Clone for RsaExponent
impl Clone for RsaExponent
sourcefn clone(&self) -> RsaExponent
fn clone(&self) -> RsaExponent
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 RsaExponent
impl Debug for RsaExponent
sourceimpl Default for RsaExponent
impl Default for RsaExponent
sourcefn default() -> RsaExponent
fn default() -> RsaExponent
Returns the “default value” for a type. Read more
sourceimpl From<RsaExponent> for UINT32
impl From<RsaExponent> for UINT32
sourcefn from(rsa_exponent: RsaExponent) -> Self
fn from(rsa_exponent: RsaExponent) -> Self
Performs the conversion.
sourceimpl PartialEq<RsaExponent> for RsaExponent
impl PartialEq<RsaExponent> for RsaExponent
sourcefn eq(&self, other: &RsaExponent) -> bool
fn eq(&self, other: &RsaExponent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RsaExponent) -> bool
fn ne(&self, other: &RsaExponent) -> bool
This method tests for !=.
sourceimpl TryFrom<u32> for RsaExponent
impl TryFrom<u32> for RsaExponent
impl Copy for RsaExponent
impl Eq for RsaExponent
impl StructuralEq for RsaExponent
impl StructuralPartialEq for RsaExponent
Auto Trait Implementations
impl RefUnwindSafe for RsaExponent
impl Send for RsaExponent
impl Sync for RsaExponent
impl Unpin for RsaExponent
impl UnwindSafe for RsaExponent
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