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>,
}