pub struct BasicConstraints {
pub is_ca: bool,
pub path_len_constraint: Option<u8>,
}Available on crate feature
rustcrypto only.Expand description
basic-constraints (§6.5.11.1).
Fields§
§is_ca: boolWhether the subject is a CA. “SHALL be encoded regardless of the value.”
path_len_constraint: Option<u8>The maximum depth of a path through this certificate. “MAY be present only when is-ca == true.”
Trait Implementations§
Source§impl Clone for BasicConstraints
impl Clone for BasicConstraints
impl Copy for BasicConstraints
Source§impl Debug for BasicConstraints
impl Debug for BasicConstraints
impl Eq for BasicConstraints
Source§impl PartialEq for BasicConstraints
impl PartialEq for BasicConstraints
impl StructuralPartialEq for BasicConstraints
Auto Trait Implementations§
impl Forget for BasicConstraints
impl Freeze for BasicConstraints
impl Move for BasicConstraints
impl RefUnwindSafe for BasicConstraints
impl Send for BasicConstraints
impl Sync for BasicConstraints
impl Unpin for BasicConstraints
impl UnsafeUnpin for BasicConstraints
impl UnwindSafe for BasicConstraints
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