#[repr(C)]pub struct dsa_key {
pub type_: c_int,
pub qord: c_int,
pub g: *mut c_void,
pub q: *mut c_void,
pub p: *mut c_void,
pub x: *mut c_void,
pub y: *mut c_void,
}
Expand description
DSA key structure
Fields§
§type_: c_int
The key type, PK_PRIVATE or PK_PUBLIC
qord: c_int
The order of the sub-group used in octets
g: *mut c_void
The generator
q: *mut c_void
The prime used to generate the sub-group
p: *mut c_void
The large prime that generats the field the contains the sub-group
x: *mut c_void
The private key
y: *mut c_void
The public key
Trait Implementations§
Auto Trait Implementations§
impl Freeze for dsa_key
impl RefUnwindSafe for dsa_key
impl !Send for dsa_key
impl !Sync for dsa_key
impl Unpin for dsa_key
impl UnwindSafe for dsa_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