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

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

Methods

impl Dh<Params>
[src]

[src]

[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.

[src]

Deserializes a DER-encoded PKCS#3 DHparameters structure.

This corresponds to d2i_DHparams.

[src]

Requires OpenSSL 1.0.2, 1.1.0, or 1.1.1 and the corresponding Cargo feature.

[src]

Requires OpenSSL 1.0.2, 1.1.0, or 1.1.1 and the corresponding Cargo feature.

[src]

Requires OpenSSL 1.0.2, 1.1.0, or 1.1.1 and the corresponding Cargo feature.

Methods from Deref<Target = DhRef<T>>

[src]

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.

[src]

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.

[src]

Constructs an instance of this type from its raw type.

[src]

Returns a raw pointer to the wrapped value.

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

[src]

Executes the destructor for this type. Read more

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

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Mutably dereferences the value.

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

[src]

Immutably borrows from an owned value. Read more

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

[src]

Performs the conversion.

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

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