pub struct X509Lookup<T>(_, _);
Expand description

Information used by an X509Store to look up certificates and CRLs.

Implementations

Lookup method that loads certificates and CRLs on demand and caches them in memory once they are loaded. It also checks for newer CRLs upon each lookup, so that newer CRLs are used as soon as they appear in the directory.

This corresponds to X509_LOOKUP_hash_dir.

Methods from Deref<Target = X509LookupRef<T>>

Specifies a directory from which certificates and CRLs will be loaded on-demand. Must be used with X509Lookup::hash_dir.

This corresponds to X509_LOOKUP_add_dir.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.

Immutably borrows from an owned value. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Executes the destructor for this type. Read more

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.

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.