Struct jwt_compact::jwk::RsaPrimeFactor [−][src]
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
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
