pub struct VerifiedPath<'p> { /* private fields */ }
Expand description
Path from end-entity certificate to trust anchor that’s been verified.
See EndEntityCert::verify_for_usage()
for more details on what verification entails.
Implementations§
source§impl<'p> VerifiedPath<'p>
impl<'p> VerifiedPath<'p>
sourcepub fn intermediate_certificates(&'p self) -> IntermediateIterator<'p>
pub fn intermediate_certificates(&'p self) -> IntermediateIterator<'p>
Yields a (double-ended) iterator over the intermediate certificates in this path.
sourcepub fn end_entity(&self) -> &'p EndEntityCert<'p>
pub fn end_entity(&self) -> &'p EndEntityCert<'p>
Yields the end-entity certificate for this path.
sourcepub fn anchor(&self) -> &'p TrustAnchor<'p>
pub fn anchor(&self) -> &'p TrustAnchor<'p>
Yields the trust anchor for this path.
Auto Trait Implementations§
impl<'p> Freeze for VerifiedPath<'p>
impl<'p> RefUnwindSafe for VerifiedPath<'p>
impl<'p> Send for VerifiedPath<'p>
impl<'p> Sync for VerifiedPath<'p>
impl<'p> Unpin for VerifiedPath<'p>
impl<'p> UnwindSafe for VerifiedPath<'p>
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