boring_sys

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 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: i32