rocket::mtls::x509::der

Function parse_der_i64

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

Parse DER object and try to decode it as a 64-bits signed integer

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