Skip to main content

has_eku_server_auth

Function has_eku_server_auth 

Source
pub fn has_eku_server_auth(cert_der: &[u8]) -> Option<bool>
Expand description

Check whether the Extended Key Usage extension includes serverAuth (1.3.6.1.5.5.7.3.1).

Returns None if the EKU extension is absent, Some(true) if serverAuth is present, Some(false) if it is not.