pub fn parse_basic_constraints(
    ext: &X509ExtensionRef<'_>
) -> Result<BasicConstraints>