pub struct X509VerifyParamRef(_);
Expand description

Reference to X509VerifyParam.

Implementations

Set the host flags.

This corresponds to X509_VERIFY_PARAM_set_hostflags.

Set verification flags.

This corresponds to X509_VERIFY_PARAM_set_flags.

Clear verification flags.

This corresponds to X509_VERIFY_PARAM_clear_flags.

Gets verification flags.

This corresponds to X509_VERIFY_PARAM_get_flags.

Set the expected DNS hostname.

This corresponds to X509_VERIFY_PARAM_set1_host.

Set the expected IPv4 or IPv6 address.

This corresponds to X509_VERIFY_PARAM_set1_ip.

Set the verification time, where time is of type time_t, traditionaly defined as seconds since the epoch

This corresponds to X509_VERIFY_PARAM_set_time.

Set the verification depth

This corresponds to X509_VERIFY_PARAM_set_depth.

Sets the authentication security level to auth_level

This corresponds to X509_VERIFY_PARAM_set_auth_level.

Gets the current authentication security level

This corresponds to X509_VERIFY_PARAM_get_auth_level.

Sets the verification purpose

This corresponds to X509_VERIFY_PARAM_set_purpose.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Immutably borrows from an owned value. Read more
The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
Returns a raw pointer to the wrapped value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.