Type Alias boring_sys::RSA_METHOD
source · pub type RSA_METHOD = rsa_meth_st;Aliased Type§
struct RSA_METHOD {
pub common: openssl_method_common_st,
pub app_data: *mut c_void,
pub init: Option<unsafe extern "C" fn(_: *mut rsa_st) -> i32>,
pub finish: Option<unsafe extern "C" fn(_: *mut rsa_st) -> i32>,
pub size: Option<unsafe extern "C" fn(_: *const rsa_st) -> usize>,
pub sign: Option<unsafe extern "C" fn(_: i32, _: *const u8, _: u32, _: *mut u8, _: *mut u32, _: *const rsa_st) -> i32>,
pub sign_raw: Option<unsafe extern "C" fn(_: *mut rsa_st, _: *mut usize, _: *mut u8, _: usize, _: *const u8, _: usize, _: i32) -> i32>,
pub decrypt: Option<unsafe extern "C" fn(_: *mut rsa_st, _: *mut usize, _: *mut u8, _: usize, _: *const u8, _: usize, _: i32) -> i32>,
pub private_transform: Option<unsafe extern "C" fn(_: *mut rsa_st, _: *mut u8, _: *const u8, _: usize) -> i32>,
pub flags: i32,
}Fields§
§common: openssl_method_common_st§app_data: *mut c_void§init: Option<unsafe extern "C" fn(_: *mut rsa_st) -> i32>§finish: Option<unsafe extern "C" fn(_: *mut rsa_st) -> i32>§size: Option<unsafe extern "C" fn(_: *const rsa_st) -> usize>§sign: Option<unsafe extern "C" fn(_: i32, _: *const u8, _: u32, _: *mut u8, _: *mut u32, _: *const rsa_st) -> i32>§sign_raw: Option<unsafe extern "C" fn(_: *mut rsa_st, _: *mut usize, _: *mut u8, _: usize, _: *const u8, _: usize, _: i32) -> i32>§decrypt: Option<unsafe extern "C" fn(_: *mut rsa_st, _: *mut usize, _: *mut u8, _: usize, _: *const u8, _: usize, _: i32) -> i32>§private_transform: Option<unsafe extern "C" fn(_: *mut rsa_st, _: *mut u8, _: *const u8, _: usize) -> i32>§flags: i32Trait Implementations§
source§impl Clone for rsa_meth_st
impl Clone for rsa_meth_st
source§fn clone(&self) -> rsa_meth_st
fn clone(&self) -> rsa_meth_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 rsa_meth_st
impl Debug for rsa_meth_st
source§impl Default for rsa_meth_st
impl Default for rsa_meth_st
source§impl PartialEq<rsa_meth_st> for rsa_meth_st
impl PartialEq<rsa_meth_st> for rsa_meth_st
source§fn eq(&self, other: &rsa_meth_st) -> bool
fn eq(&self, other: &rsa_meth_st) -> bool
This method tests for
self and other values to be equal, and is used
by ==.