Struct openssl::x509::store::X509Lookup[][src]

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

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

Implementations

impl X509Lookup<HashDir>[src]

pub fn hash_dir() -> &'static X509LookupMethodRef<HashDir>[src]

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

pub fn add_dir(
    &mut self,
    name: &str,
    file_type: SslFiletype
) -> Result<(), ErrorStack>
[src]

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

impl<T> AsRef<X509LookupRef<T>> for X509Lookup<T>[src]

impl<T> Borrow<X509LookupRef<T>> for X509Lookup<T>[src]

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

type Target = X509LookupRef<T>

The resulting type after dereferencing.

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

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

impl<T> ForeignType for X509Lookup<T>[src]

type CType = X509_LOOKUP

The raw C type.

type Ref = X509LookupRef<T>

The type representing a reference to this type.

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

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

Auto Trait Implementations

impl<T> RefUnwindSafe for X509Lookup<T> where
    T: RefUnwindSafe

impl<T> Unpin for X509Lookup<T> where
    T: Unpin

impl<T> UnwindSafe for X509Lookup<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.