#[repr(C)]pub struct ecdsa_method_st {
pub common: openssl_method_common_st,
pub app_data: *mut c_void,
pub init: Option<unsafe extern "C" fn(key: *mut EC_KEY) -> c_int>,
pub finish: Option<unsafe extern "C" fn(key: *mut EC_KEY) -> c_int>,
pub group_order_size: Option<unsafe extern "C" fn(key: *const EC_KEY) -> usize>,
pub sign: Option<unsafe extern "C" fn(digest: *const u8, digest_len: usize, sig: *mut u8, sig_len: *mut c_uint, eckey: *mut EC_KEY) -> c_int>,
pub flags: c_int,
}
Fields§
§common: openssl_method_common_st
§app_data: *mut c_void
§init: Option<unsafe extern "C" fn(key: *mut EC_KEY) -> c_int>
§finish: Option<unsafe extern "C" fn(key: *mut EC_KEY) -> c_int>
§group_order_size: Option<unsafe extern "C" fn(key: *const EC_KEY) -> usize>
§sign: Option<unsafe extern "C" fn(digest: *const u8, digest_len: usize, sig: *mut u8, sig_len: *mut c_uint, eckey: *mut EC_KEY) -> c_int>
§flags: c_int
Trait Implementations§
Source§impl Clone for ecdsa_method_st
impl Clone for ecdsa_method_st
Source§fn clone(&self) -> ecdsa_method_st
fn clone(&self) -> ecdsa_method_st
Returns a copy 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 ecdsa_method_st
impl Debug for ecdsa_method_st
Source§impl Default for ecdsa_method_st
impl Default for ecdsa_method_st
Source§impl PartialEq for ecdsa_method_st
impl PartialEq for ecdsa_method_st
impl Copy for ecdsa_method_st
impl Eq for ecdsa_method_st
impl StructuralPartialEq for ecdsa_method_st
Auto Trait Implementations§
impl Freeze for ecdsa_method_st
impl RefUnwindSafe for ecdsa_method_st
impl !Send for ecdsa_method_st
impl !Sync for ecdsa_method_st
impl Unpin for ecdsa_method_st
impl UnwindSafe for ecdsa_method_st
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