pub struct ValidationOptions {
pub required_policy_oid: Option<Vec<u8>>,
pub required_extended_key_usage_oid: Option<Vec<u8>>,
pub require_explicit_policy: bool,
pub require_crl_distribution_points: bool,
pub require_revocation_locator: bool,
pub inhibit_policy_mapping: bool,
}Expand description
Controls optional policy and revocation-related path validation requirements.
Fields§
§required_policy_oid: Option<Vec<u8>>§required_extended_key_usage_oid: Option<Vec<u8>>§require_explicit_policy: bool§require_crl_distribution_points: bool§require_revocation_locator: bool§inhibit_policy_mapping: boolTrait Implementations§
Source§impl Clone for ValidationOptions
impl Clone for ValidationOptions
Source§fn clone(&self) -> ValidationOptions
fn clone(&self) -> ValidationOptions
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 moreSource§impl Debug for ValidationOptions
impl Debug for ValidationOptions
Source§impl Default for ValidationOptions
impl Default for ValidationOptions
Source§fn default() -> ValidationOptions
fn default() -> ValidationOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ValidationOptions
impl PartialEq for ValidationOptions
Source§fn eq(&self, other: &ValidationOptions) -> bool
fn eq(&self, other: &ValidationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ValidationOptions
impl StructuralPartialEq for ValidationOptions
Auto Trait Implementations§
impl Freeze for ValidationOptions
impl RefUnwindSafe for ValidationOptions
impl Send for ValidationOptions
impl Sync for ValidationOptions
impl Unpin for ValidationOptions
impl UnsafeUnpin for ValidationOptions
impl UnwindSafe for ValidationOptions
Blanket Implementations§
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