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

pub struct DH(_);

Methods

impl DH
[src]

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

Requires the dh_from_params feature.

fn from_pem(buf: &[u8]) -> Result<DH, ErrorStack>

fn get_1024_160() -> Result<DH, ErrorStack>

fn get_2048_224() -> Result<DH, ErrorStack>

fn get_2048_256() -> Result<DH, ErrorStack>

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