Struct openssl::dh::DhRef [] [src]

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

Methods

impl<T> DhRef<T> where
    T: HasParams
[src]

[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> 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> ForeignTypeRef for DhRef<T>
[src]

The raw C type.

Important traits for &'a mut W
[src]

Constructs a shared instance of this type from its raw type.

Important traits for &'a mut W
[src]

Constructs a mutable reference of this type from its raw type.

[src]

Returns a raw pointer to the wrapped value.

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

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