Struct openssl::pkey::PKeyCtx
[−]
pub struct PKeyCtx(_);
Methods
impl PKeyCtx
[src]
Methods from Deref<Target = PKeyCtxRef>
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 ForeignType for PKeyCtx
type CType = EVP_PKEY_CTX
The raw C type.
type Ref = PKeyCtxRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut EVP_PKEY_CTX) -> PKeyCtx
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut EVP_PKEY_CTX
Returns a raw pointer to the wrapped value.
impl Drop for PKeyCtx
impl Deref for PKeyCtx
type Target = PKeyCtxRef
The resulting type after dereferencing.
fn deref(&self) -> &PKeyCtxRef
Dereferences the value.
impl DerefMut for PKeyCtx
fn deref_mut(&mut self) -> &mut PKeyCtxRef
Mutably dereferences the value.