Struct openssl::dh::DH [] [src]

pub struct DH(_);

Methods

impl DH
[src]

fn from_params(p: BigNum, g: BigNum, q: BigNum) -> Result<DHErrorStack>

Requires the dh_from_params feature.

fn from_pem(buf: &[u8]) -> Result<DHErrorStack>

fn get_1024_160() -> Result<DHErrorStack>

fn get_2048_224() -> Result<DHErrorStack>

fn get_2048_256() -> Result<DHErrorStack>

unsafe fn as_ptr(&self) -> *mut DH

Trait Implementations

impl Drop for DH
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more