Struct schannel::cert_chain::CertChainContext
source · pub struct CertChainContext(/* private fields */);
Expand description
A certificate chain context (consisting of multiple chains)
Implementations§
source§impl CertChainContext
impl CertChainContext
sourcepub fn final_chain(&self) -> Option<CertChain>
pub fn final_chain(&self) -> Option<CertChain>
Get the final (for a successful verification this means successful) certificate chain
https://msdn.microsoft.com/de-de/library/windows/desktop/aa377182(v=vs.85).aspx rgpChain[cChain - 1] is the final chain
sourcepub fn get_chain(&self, index: usize) -> Option<CertChain>
pub fn get_chain(&self, index: usize) -> Option<CertChain>
Retrieves the specified chain from the context.
sourcepub fn chains(&self) -> CertificateChains<'_> ⓘ
pub fn chains(&self) -> CertificateChains<'_> ⓘ
Return an iterator over all certificate chains in this context
Trait Implementations§
source§impl Clone for CertChainContext
impl Clone for CertChainContext
source§impl Drop for CertChainContext
impl Drop for CertChainContext
source§impl RawPointer for CertChainContext
impl RawPointer for CertChainContext
impl Send for CertChainContext
impl Sync for CertChainContext
Auto Trait Implementations§
impl RefUnwindSafe for CertChainContext
impl Unpin for CertChainContext
impl UnwindSafe for CertChainContext
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