Struct openssl::dh::Dh[][src]

pub struct Dh<T>(_, _);

Methods

impl Dh<Params>
[src]
[]

[]

Deserializes a PEM-encoded PKCS#3 DHpararameters structure.

The input should have a header of -----BEGIN DH PARAMETERS-----.

This corresponds to PEM_read_bio_DHparams.

[]

Deserializes a DER-encoded PKCS#3 DHparameters structure.

This corresponds to d2i_DHparams.

Methods from Deref<Target = DhRef<T>>

[]

Serializes the parameters into a PEM-encoded PKCS#3 DHparameter structure.

The output will have a header of -----BEGIN DH PARAMETERS-----.

This corresponds to PEM_write_bio_DHparams.

[]

Serializes the parameters into a DER-encoded PKCS#3 DHparameter structure.

This corresponds to i2d_DHparams.

Trait Implementations

impl<T> ForeignType for Dh<T>
[src]
[+]

The raw C type.

The type representing a reference to this type.

[]

Constructs an instance of this type from its raw type.

[]

Returns a raw pointer to the wrapped value.

impl<T> Drop for Dh<T>
[src]
[+]

[]

Executes the destructor for this type. Read more

impl<T> Deref for Dh<T>
[src]
[+]

The resulting type after dereferencing.

[]

Dereferences the value.

impl<T> DerefMut for Dh<T>
[src]
[+]

[]

Mutably dereferences the value.

impl<T> Borrow<DhRef<T>> for Dh<T>
[src]
[+]

[]

Immutably borrows from an owned value. Read more

impl<T> AsRef<DhRef<T>> for Dh<T>
[src]
[+]

[]

Performs the conversion.

impl<T> Send for Dh<T>
[src]

impl<T> Sync for Dh<T>
[src]