pub struct BasicConstraints { /* private fields */ }Expand description
Whether this is a certification authority, and how far below it a path may go.
Implementations§
Source§impl BasicConstraints
impl BasicConstraints
Whether the certificate may sign other certificates.
Sourcepub fn path_length(self) -> Option<CertificateCount>
pub fn path_length(self) -> Option<CertificateCount>
How many certificates may sit between this one and the one at the end of the path, where the certificate says.
Written without the flag above it constrains nothing, and is kept as what the certificate said rather than dropped.
Trait Implementations§
Source§impl Clone for BasicConstraints
impl Clone for BasicConstraints
impl Copy for BasicConstraints
Auto Trait Implementations§
impl Freeze 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