#[repr(C, packed(1))]pub struct RSAPrivateKeyBlob {
pub alg_id: ULONG,
pub bit_leb: ULONG,
pub modulus: [BYTE; 256],
pub public_exponent: [BYTE; 4],
pub private_exponent: [BYTE; 256],
pub prime1: [BYTE; 128],
pub prime2: [BYTE; 128],
pub prime1_exponent: [BYTE; 128],
pub prime2_exponent: [BYTE; 128],
pub coefficient: [BYTE; 128],
}
Expand description
The structure of RSAPRIVATEKEYBLOB
Fields§
§alg_id: ULONG
§bit_leb: ULONG
§modulus: [BYTE; 256]
§public_exponent: [BYTE; 4]
§private_exponent: [BYTE; 256]
§prime1: [BYTE; 128]
§prime2: [BYTE; 128]
§prime1_exponent: [BYTE; 128]
§prime2_exponent: [BYTE; 128]
§coefficient: [BYTE; 128]
Trait Implementations§
Source§impl Clone for RSAPrivateKeyBlob
impl Clone for RSAPrivateKeyBlob
Source§fn clone(&self) -> RSAPrivateKeyBlob
fn clone(&self) -> RSAPrivateKeyBlob
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 RSAPrivateKeyBlob
impl Debug for RSAPrivateKeyBlob
impl Copy for RSAPrivateKeyBlob
Auto Trait Implementations§
impl Freeze for RSAPrivateKeyBlob
impl RefUnwindSafe for RSAPrivateKeyBlob
impl Send for RSAPrivateKeyBlob
impl Sync for RSAPrivateKeyBlob
impl Unpin for RSAPrivateKeyBlob
impl UnwindSafe for RSAPrivateKeyBlob
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