parse_cert_stack_from_cabundle

Function parse_cert_stack_from_cabundle 

Source
pub fn parse_cert_stack_from_cabundle(
    cabundle: &[ByteBuf],
) -> CertResult<Vec<TrustAnchor<'_>>>
Expand description

Takes a byte buffer and attempts to create a stack of CAs from it.

ยงErrors

Returns a CertError::Openssl if an error occurred while preparing the stack