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

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> Sync for Dh<T>
[src]

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

Performs the conversion.

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

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

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more