pub struct RsaPrivateKey {
pub d: Vec<u8>,
pub p: Vec<u8>,
pub q: Vec<u8>,
pub dp: Vec<u8>,
pub dq: Vec<u8>,
pub qi: Vec<u8>,
pub oth: Option<Vec<RsaAdditionalPrime>>,
}Expand description
RSA private key parameters.
See https://datatracker.ietf.org/doc/html/rfc7518#section-6.3.2
Fields§
§d: Vec<u8>§p: Vec<u8>§q: Vec<u8>§dp: Vec<u8>§dq: Vec<u8>§qi: Vec<u8>§oth: Option<Vec<RsaAdditionalPrime>>Trait Implementations§
Source§impl Clone for RsaPrivateKey
impl Clone for RsaPrivateKey
Source§fn clone(&self) -> RsaPrivateKey
fn clone(&self) -> RsaPrivateKey
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<'de> Deserialize<'de> for RsaPrivateKey
impl<'de> Deserialize<'de> for RsaPrivateKey
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
Auto Trait Implementations§
impl Freeze for RsaPrivateKey
impl RefUnwindSafe for RsaPrivateKey
impl Send for RsaPrivateKey
impl Sync for RsaPrivateKey
impl Unpin for RsaPrivateKey
impl UnwindSafe for RsaPrivateKey
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