Function sozu_command_lib::certificate::get_cn_and_san_attributes
source · pub fn get_cn_and_san_attributes(x509: &X509Certificate<'_>) -> Vec<String>
Expand description
Retrieve from the pem (as bytes) the common name (a.k.a CN
) and the
subject alternate names (a.k.a SAN
)