Function rocket::mtls::x509::der_parser::der::parse_der_u32

source ·
pub fn parse_der_u32(i: &[u8]) -> Result<(&[u8], u32), Err<Error>>
Available on crate feature mtls only.
Expand description

Parse DER object and try to decode it as a 32-bits unsigned integer

Return IntegerTooLarge if object is an integer, but can not be represented in the target integer type.