#[repr(C)]pub struct Rsa_key {
pub type_: c_int,
pub e: *mut c_void,
pub d: *mut c_void,
pub N: *mut c_void,
pub p: *mut c_void,
pub q: *mut c_void,
pub qP: *mut c_void,
pub dP: *mut c_void,
pub dQ: *mut c_void,
}Expand description
RSA PKCS style key
Fields§
§type_: c_intType of key, PK_PRIVATE or PK_PUBLIC
e: *mut c_voidThe public exponent
d: *mut c_voidThe private exponent
N: *mut c_voidThe modulus
p: *mut c_voidThe p factor of N
q: *mut c_voidThe q factor of N
qP: *mut c_voidThe 1/q mod p CRT param
dP: *mut c_voidThe d mod (p - 1) CRT param
dQ: *mut c_voidThe d mod (q - 1) CRT param
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rsa_key
impl RefUnwindSafe for Rsa_key
impl !Send for Rsa_key
impl !Sync for Rsa_key
impl Unpin for Rsa_key
impl UnwindSafe for Rsa_key
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