rocket::mtls::x509

Function format_serial

Source
pub fn format_serial(i: &[u8]) -> String
Available on crate feature mtls only.
Expand description

Formats a slice to a colon-separated hex string (for ex 01:02:ff:ff)