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>>Implementations§
Source§impl TransparentRSAPrivateKey
impl TransparentRSAPrivateKey
pub const TAG: Tag
pub const MODULUS_TAG: Tag
pub const PRIVATE_EXPONENT_TAG: Tag
pub const PUBLIC_EXPONENT_TAG: Tag
pub const P_TAG: Tag
pub const Q_TAG: Tag
pub const PRIME_EXPONENT_P_TAG: Tag
pub const PRIME_EXPONENT_Q_TAG: Tag
pub const CRT_COEFFICIENT_TAG: Tag
pub fn fast_scan(scanner: &mut FastScanner<'_>) -> Result<Self, FastScanError>
pub fn format(&self, formatter: &mut Formatter<'_>) -> FormatResult
Trait Implementations§
Source§impl Clone for TransparentRSAPrivateKey
impl Clone for TransparentRSAPrivateKey
Source§impl Debug for TransparentRSAPrivateKey
impl Debug for TransparentRSAPrivateKey
impl Eq for TransparentRSAPrivateKey
Source§impl PartialEq for TransparentRSAPrivateKey
impl PartialEq for TransparentRSAPrivateKey
impl StructuralPartialEq for TransparentRSAPrivateKey
Auto Trait Implementations§
impl Forget for TransparentRSAPrivateKey
impl Freeze for TransparentRSAPrivateKey
impl Move for TransparentRSAPrivateKey
impl RefUnwindSafe for TransparentRSAPrivateKey
impl Send for TransparentRSAPrivateKey
impl Sync for TransparentRSAPrivateKey
impl Unpin for TransparentRSAPrivateKey
impl UnsafeUnpin 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