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 ForeignTypeRef for PKeyCtxRef
type CType = EVP_PKEY_CTX
The raw C type.
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
[src]
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
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.