pub struct NameConstraints {
pub permitted_subtrees: Vec<GeneralSubtree>,
pub excluded_subtrees: Vec<GeneralSubtree>,
}
Expand description
The NameConstraints extension (only relevant for CA certificates)
Fields§
§permitted_subtrees: Vec<GeneralSubtree>
A list of subtrees that the domain has to match.
excluded_subtrees: Vec<GeneralSubtree>
A list of subtrees that the domain must not match.
Any name matching an excluded subtree is invalid even if it also matches a permitted subtree.
Trait Implementations§
Source§impl Clone for NameConstraints
impl Clone for NameConstraints
Source§fn clone(&self) -> NameConstraints
fn clone(&self) -> NameConstraints
Returns a copy of the value. Read more
1.0.0 · 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 NameConstraints
impl Debug for NameConstraints
Source§impl PartialEq for NameConstraints
impl PartialEq for NameConstraints
impl Eq for NameConstraints
impl StructuralPartialEq for NameConstraints
Auto Trait Implementations§
impl Freeze for NameConstraints
impl RefUnwindSafe for NameConstraints
impl Send for NameConstraints
impl Sync for NameConstraints
impl Unpin for NameConstraints
impl UnwindSafe for NameConstraints
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