Skip to main content

get_dns_names

Function get_dns_names 

Source
pub fn get_dns_names<R: AsRef<X509Ref>>(cert: &R) -> Result<Vec<String>, Error>
Expand description

Return the DNS names in the subjectAlternativeNames of the certificate as well as its common name.

Result may contain duplicate items.