#[repr(C)]
pub struct rsa_meth_st { pub common: openssl_method_common_st, pub app_data: *mut c_void, pub init: Option<unsafe extern "C" fn(rsa: *mut RSA) -> c_int>, pub finish: Option<unsafe extern "C" fn(rsa: *mut RSA) -> c_int>, pub size: Option<unsafe extern "C" fn(rsa: *const RSA) -> usize>, pub sign: Option<unsafe extern "C" fn(type_: c_int, m: *const u8, m_length: c_uint, sigret: *mut u8, siglen: *mut c_uint, rsa: *const RSA) -> c_int>, pub sign_raw: Option<unsafe extern "C" fn(rsa: *mut RSA, out_len: *mut usize, out: *mut u8, max_out: usize, in_: *const u8, in_len: usize, padding: c_int) -> c_int>, pub decrypt: Option<unsafe extern "C" fn(rsa: *mut RSA, out_len: *mut usize, out: *mut u8, max_out: usize, in_: *const u8, in_len: usize, padding: c_int) -> c_int>, pub private_transform: Option<unsafe extern "C" fn(rsa: *mut RSA, out: *mut u8, in_: *const u8, len: usize) -> c_int>, pub flags: c_int, }

Fields

common: openssl_method_common_stapp_data: *mut c_voidinit: Option<unsafe extern "C" fn(rsa: *mut RSA) -> c_int>finish: Option<unsafe extern "C" fn(rsa: *mut RSA) -> c_int>size: Option<unsafe extern "C" fn(rsa: *const RSA) -> usize>sign: Option<unsafe extern "C" fn(type_: c_int, m: *const u8, m_length: c_uint, sigret: *mut u8, siglen: *mut c_uint, rsa: *const RSA) -> c_int>sign_raw: Option<unsafe extern "C" fn(rsa: *mut RSA, out_len: *mut usize, out: *mut u8, max_out: usize, in_: *const u8, in_len: usize, padding: c_int) -> c_int>decrypt: Option<unsafe extern "C" fn(rsa: *mut RSA, out_len: *mut usize, out: *mut u8, max_out: usize, in_: *const u8, in_len: usize, padding: c_int) -> c_int>private_transform: Option<unsafe extern "C" fn(rsa: *mut RSA, out: *mut u8, in_: *const u8, len: usize) -> c_int>flags: c_int

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.