Function webpki::trust_anchor_util::cert_der_as_trust_anchor [] [src]

pub fn cert_der_as_trust_anchor<'a>(
    cert_der: Input<'a>
) -> Result<TrustAnchor<'a>, Error>

Interprets the given DER-encoded certificate as a TrustAnchor. The certificate is not validated. In particular, there is no check that the certificate is self-signed or even that the certificate has the cA basic constraint.