pub struct Cert<'a> { /* private fields */ }
Expand description
A parsed X509 certificate.
Implementations§
source§impl<'a> Cert<'a>
impl<'a> Cert<'a>
sourcepub fn end_entity_or_ca(&self) -> &EndEntityOrCa<'_>
pub fn end_entity_or_ca(&self) -> &EndEntityOrCa<'_>
Returns an indication of whether the certificate is an end-entity (leaf) certificate, or a certificate authority.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Cert<'a>
impl<'a> RefUnwindSafe for Cert<'a>
impl<'a> Send for Cert<'a>
impl<'a> Sync for Cert<'a>
impl<'a> Unpin for Cert<'a>
impl<'a> UnwindSafe for Cert<'a>
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