Struct wolfssl_sys::WOLFSSL_EVP_PKEY
source · #[repr(C)]pub struct WOLFSSL_EVP_PKEY {
pub heap: *mut c_void,
pub type_: c_int,
pub save_type: c_int,
pub pkey_sz: c_int,
pub ref_: wolfSSL_Ref,
pub pkey: WOLFSSL_EVP_PKEY__bindgen_ty_1,
pub pkey_curve: c_int,
pub pkcs8HeaderSz: word16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: u8,
}Fields§
§heap: *mut c_void§type_: c_int§save_type: c_int§pkey_sz: c_int§ref_: wolfSSL_Ref§pkey: WOLFSSL_EVP_PKEY__bindgen_ty_1§pkey_curve: c_int§pkcs8HeaderSz: word16§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: u8Implementations§
source§impl WOLFSSL_EVP_PKEY
impl WOLFSSL_EVP_PKEY
pub fn ownDh(&self) -> byte
pub fn set_ownDh(&mut self, val: byte)
pub fn ownEcc(&self) -> byte
pub fn set_ownEcc(&mut self, val: byte)
pub fn ownDsa(&self) -> byte
pub fn set_ownDsa(&mut self, val: byte)
pub fn ownRsa(&self) -> byte
pub fn set_ownRsa(&mut self, val: byte)
pub fn new_bitfield_1( ownDh: byte, ownEcc: byte, ownDsa: byte, ownRsa: byte ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for WOLFSSL_EVP_PKEY
impl Clone for WOLFSSL_EVP_PKEY
source§fn clone(&self) -> WOLFSSL_EVP_PKEY
fn clone(&self) -> WOLFSSL_EVP_PKEY
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 moreimpl Copy for WOLFSSL_EVP_PKEY
Auto Trait Implementations§
impl Freeze for WOLFSSL_EVP_PKEY
impl RefUnwindSafe for WOLFSSL_EVP_PKEY
impl !Send for WOLFSSL_EVP_PKEY
impl !Sync for WOLFSSL_EVP_PKEY
impl Unpin for WOLFSSL_EVP_PKEY
impl UnwindSafe for WOLFSSL_EVP_PKEY
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more