ot_certs::x509::extension

Function parse_key_usage

Source
pub fn parse_key_usage(ext: &X509ExtensionRef<'_>) -> Result<KeyUsage>