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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1512 bytes