pub fn find_extension<'a>(cert_der: &'a [u8], oid: &[u8]) -> Option<&'a [u8]>Expand description
Find the value of an extension by OID.
Returns the raw bytes of the extension’s extnValue (the content inside
the OCTET STRING), or None if the extension is not present.
The certificate must contain the [3] extensions field.