Struct schannel::cert_chain::CertChain
source · pub struct CertChain(_, _);
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