pub struct RsaPrimeFactor<'a> {
pub factor: SecretBytes<'a>,
pub crt_exponent: Option<SecretBytes<'a>>,
pub crt_coefficient: Option<SecretBytes<'a>>,
}Expand description
Block for an additional prime factor in RsaPrivateParts.
§Serialization
Fields of this struct are serialized using the big endian presentation
with the minimum necessary number of bytes. See JsonWebKey notes
on encoding.
Fields§
§factor: SecretBytes<'a>Prime factor (r).
crt_exponent: Option<SecretBytes<'a>>Factor CRT exponent (d).
crt_coefficient: Option<SecretBytes<'a>>Factor CRT coefficient (t).
Trait Implementations§
Source§impl<'a> Clone for RsaPrimeFactor<'a>
impl<'a> Clone for RsaPrimeFactor<'a>
Source§fn clone(&self) -> RsaPrimeFactor<'a>
fn clone(&self) -> RsaPrimeFactor<'a>
Returns a duplicate 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<'a> Debug for RsaPrimeFactor<'a>
impl<'a> Debug for RsaPrimeFactor<'a>
Source§impl<'de, 'a> Deserialize<'de> for RsaPrimeFactor<'a>
impl<'de, 'a> Deserialize<'de> for RsaPrimeFactor<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> PartialEq for RsaPrimeFactor<'a>
impl<'a> PartialEq for RsaPrimeFactor<'a>
Source§impl<'a> Serialize for RsaPrimeFactor<'a>
impl<'a> Serialize for RsaPrimeFactor<'a>
impl<'a> StructuralPartialEq for RsaPrimeFactor<'a>
Auto Trait Implementations§
impl<'a> Freeze for RsaPrimeFactor<'a>
impl<'a> RefUnwindSafe for RsaPrimeFactor<'a>
impl<'a> Send for RsaPrimeFactor<'a>
impl<'a> Sync for RsaPrimeFactor<'a>
impl<'a> Unpin for RsaPrimeFactor<'a>
impl<'a> UnwindSafe for RsaPrimeFactor<'a>
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