Skip to main content

parse_client_identity

Function parse_client_identity 

Source
fn parse_client_identity(der: &[u8]) -> (Option<String>, Vec<String>)
Expand description

Extracts the subject CN and SAN DNS names from a DER-encoded certificate. Panic-free: any parse error yields (None, empty).