Struct openssl::pkey::PKeyCtxRef
[−]
pub struct PKeyCtxRef(_);
Methods
impl PKeyCtxRef
[src]
pub fn set_rsa_padding(&mut self, pad: Padding) -> Result<(), ErrorStack>
[src]
pub fn rsa_padding(&self) -> Result<Padding, ErrorStack>
[src]
pub fn derive_init(&mut self) -> Result<(), ErrorStack>
[src]
pub fn derive_set_peer(&mut self, peer: &PKeyRef) -> Result<(), ErrorStack>
[src]
pub fn derive(&mut self) -> Result<Vec<u8>, ErrorStack>
[src]
Trait Implementations
impl Borrow<PKeyCtxRef> for PKeyCtx
fn borrow(&self) -> &PKeyCtxRef
Immutably borrows from an owned value. Read more
impl AsRef<PKeyCtxRef> for PKeyCtx
fn as_ref(&self) -> &PKeyCtxRef
Performs the conversion.
impl ForeignTypeRef for PKeyCtxRef
type CType = EVP_PKEY_CTX
The raw C type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
Constructs a shared instance of this type from its raw type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
[src]
Returns a raw pointer to the wrapped value.