Function security::match_peer_names [−][src]
pub fn match_peer_names(allowed_cn: &HashSet<String>, name: &str) -> bool
Check peer CN with a set of allowed CN.
pub fn match_peer_names(allowed_cn: &HashSet<String>, name: &str) -> bool
Check peer CN with a set of allowed CN.