Type Alias 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 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>§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: i32

Trait Implementations

Source§

impl Clone for rsa_meth_st

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for rsa_meth_st

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for rsa_meth_st