x509-parser 0.7.0

Parser for the X.509 v3 format (RFC 5280 certificates)
Documentation
1
2
3
4
5
6
/// Identifies whether the subject of the certificate is a CA, and the max validation depth.
#[derive(Debug, PartialEq)]
pub struct BasicConstraints {
    pub ca : bool,
    pub path_len_contraint: Option<u32>,
}