Struct openssl::x509::store::X509Lookup [−][src]
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]
&mut self,
name: &str,
file_type: SslFiletype
) -> Result<(), ErrorStack>
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]
fn as_ref(&self) -> &X509LookupRef<T>
[src]
impl<T> Borrow<X509LookupRef<T>> for X509Lookup<T>
[src]
fn borrow(&self) -> &X509LookupRef<T>
[src]
impl<T> Deref for X509Lookup<T>
[src]
type Target = X509LookupRef<T>
The resulting type after dereferencing.
fn deref(&self) -> &X509LookupRef<T>
[src]
impl<T> DerefMut for X509Lookup<T>
[src]
fn deref_mut(&mut self) -> &mut X509LookupRef<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.
unsafe fn from_ptr(ptr: *mut X509_LOOKUP) -> X509Lookup<T>
[src]
fn as_ptr(&self) -> *mut X509_LOOKUP
[src]
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,
T: RefUnwindSafe,
impl<T> Unpin for X509Lookup<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for X509Lookup<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,