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.