pub struct CertChain(/* private fields */);
Expand description
A (simple) certificate chain
Implementations§
Source§impl CertChain
impl CertChain
Sourcepub fn get(&self, idx: usize) -> Option<CertContext>
pub fn get(&self, idx: usize) -> Option<CertContext>
Get the n-th certificate from the current chain
Sourcepub fn certificates(&self) -> Certificates<'_> ⓘ
pub fn certificates(&self) -> Certificates<'_> ⓘ
Return an iterator over all certificates in this chain
Auto Trait Implementations§
impl Freeze for CertChain
impl RefUnwindSafe for CertChain
impl !Send for CertChain
impl !Sync for CertChain
impl Unpin for CertChain
impl UnwindSafe for CertChain
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