rocket::mtls::x509::ber

Function parse_ber_ia5string

Source
pub fn parse_ber_ia5string(
    i: &[u8],
) -> Result<(&[u8], BerObject<'_>), Err<Error>>
Available on crate feature mtls only.
Expand description

Read an IA5 string value. The content is verified to be ASCII.