Struct openssl::dh::Dh
[−]
[src]
pub struct Dh(_);
Methods
impl Dh
[src]
fn from_params(p: BigNum, g: BigNum, q: BigNum) -> Result<Dh, ErrorStack>
fn from_pem(buf: &[u8]) -> Result<Dh, ErrorStack>
Methods from Deref<Target=DhRef>
fn to_pem(&self) -> Result<Vec<u8>, ErrorStack>
Encodes the parameters to PEM.
Trait Implementations
impl OpenSslType for Dh
[src]
type CType = DH
The raw C type.
type Ref = DhRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut DH) -> Dh
Constructs an instance of this type from its raw type.
impl Drop for Dh
[src]
impl Deref for Dh
[src]
type Target = DhRef
The resulting type after dereferencing
fn deref(&self) -> &DhRef
The method called to dereference a value