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: 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 Default for rsa_meth_st

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl PartialEq<rsa_meth_st> for rsa_meth_st

source§

fn eq(&self, other: &rsa_meth_st) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for rsa_meth_st

source§

impl Eq for rsa_meth_st

source§

impl StructuralEq for rsa_meth_st

source§

impl StructuralPartialEq for rsa_meth_st