pub fn get_common_names<R: AsRef<X509Ref>>( cert: &R, ) -> Result<Vec<String>, Error>
Return the common name of the certificate. Usually will only contains one. May be empty.