pub fn get_cn_and_san_attributes(
    pem_bytes: &[u8]
) -> Result<HashSet<String>, CertificateError>
Expand description

Retrieve from the pem (as bytes) the common name (a.k.a CN) and the subject alternate names (a.k.a SAN)