pub struct CertPath<'a> {
pub leaf: &'a Certificate,
pub intermediates: Vec<&'a Certificate>,
pub root: &'a Certificate,
}Expand description
A certificate path: leaf + intermediates + root.
Fields§
§leaf: &'a CertificateThe leaf certificate (typically end-entity).
intermediates: Vec<&'a Certificate>Intermediate certificates, in order from leaf-adjacent to root-adjacent.
root: &'a CertificateThe trusted root certificate.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CertPath<'a>
impl<'a> RefUnwindSafe for CertPath<'a>
impl<'a> Send for CertPath<'a>
impl<'a> Sync for CertPath<'a>
impl<'a> Unpin for CertPath<'a>
impl<'a> UnsafeUnpin for CertPath<'a>
impl<'a> UnwindSafe for CertPath<'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