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

Implementations§

source§

impl WOLFSSL_EVP_PKEY

source

pub fn ownDh(&self) -> byte

source

pub fn set_ownDh(&mut self, val: byte)

source

pub fn ownEcc(&self) -> byte

source

pub fn set_ownEcc(&mut self, val: byte)

source

pub fn ownDsa(&self) -> byte

source

pub fn set_ownDsa(&mut self, val: byte)

source

pub fn ownRsa(&self) -> byte

source

pub fn set_ownRsa(&mut self, val: byte)

source

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

source§

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)

Performs copy-assignment from source. Read more
source§

impl Copy for WOLFSSL_EVP_PKEY

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.