pub struct X509ChainOptions<'a> {
pub trusted_certs: &'a [Vec<u8>],
pub verification_time: SystemTime,
pub max_chain_depth: usize,
pub check_crls: bool,
}Expand description
Inputs controlling X.509 certificate-chain validation.
Fields§
§trusted_certs: &'a [Vec<u8>]DER-encoded certificates accepted as trust anchors.
verification_time: SystemTimeTime used for certificate, CRL, and revocation checks.
max_chain_depth: usizeMaximum number of certificates in the validated path, including the anchor.
check_crls: boolWhether parsed <X509CRL> entries are enforced.
Trait Implementations§
Source§impl<'a> Clone for X509ChainOptions<'a>
impl<'a> Clone for X509ChainOptions<'a>
Source§fn clone(&self) -> X509ChainOptions<'a>
fn clone(&self) -> X509ChainOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for X509ChainOptions<'a>
impl<'a> RefUnwindSafe for X509ChainOptions<'a>
impl<'a> Send for X509ChainOptions<'a>
impl<'a> Sync for X509ChainOptions<'a>
impl<'a> Unpin for X509ChainOptions<'a>
impl<'a> UnsafeUnpin for X509ChainOptions<'a>
impl<'a> UnwindSafe for X509ChainOptions<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more