pub struct TransparentRSAPrivateKey {
pub modulus: Vec<u8>,
pub private_exponent: Option<Vec<u8>>,
pub public_exponent: Option<Vec<u8>>,
pub p: Option<Vec<u8>>,
pub q: Option<Vec<u8>>,
pub prime_exponent_p: Option<Vec<u8>>,
pub prime_exponent_q: Option<Vec<u8>>,
pub crt_coefficient: Option<Vec<u8>>,
}
Expand description
See KMIP 1.0 section 2.1.7.4 Transparent RSA Private Key.
Fields§
§modulus: Vec<u8>
§private_exponent: Option<Vec<u8>>
§public_exponent: Option<Vec<u8>>
§p: Option<Vec<u8>>
§q: Option<Vec<u8>>
§prime_exponent_p: Option<Vec<u8>>
§prime_exponent_q: Option<Vec<u8>>
§crt_coefficient: Option<Vec<u8>>
Trait Implementations§
Source§impl Clone for TransparentRSAPrivateKey
impl Clone for TransparentRSAPrivateKey
Source§fn clone(&self) -> TransparentRSAPrivateKey
fn clone(&self) -> TransparentRSAPrivateKey
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 Debug for TransparentRSAPrivateKey
impl Debug for TransparentRSAPrivateKey
Source§impl<'de> Deserialize<'de> for TransparentRSAPrivateKey
impl<'de> Deserialize<'de> for TransparentRSAPrivateKey
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 PartialEq for TransparentRSAPrivateKey
impl PartialEq for TransparentRSAPrivateKey
Source§impl Serialize for TransparentRSAPrivateKey
impl Serialize for TransparentRSAPrivateKey
impl Eq for TransparentRSAPrivateKey
impl StructuralPartialEq for TransparentRSAPrivateKey
Auto Trait Implementations§
impl Freeze for TransparentRSAPrivateKey
impl RefUnwindSafe for TransparentRSAPrivateKey
impl Send for TransparentRSAPrivateKey
impl Sync for TransparentRSAPrivateKey
impl Unpin for TransparentRSAPrivateKey
impl UnwindSafe for TransparentRSAPrivateKey
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