fingerprint_colon_hex

Function fingerprint_colon_hex 

Source
pub fn fingerprint_colon_hex(cert: &CertificateDer<'_>) -> String
Expand description

Format the SHA-256 fingerprint of a certificate DER as lowercase colon-separated hex (DW-035): the format the mtls_consumer_mapping.consumers[].fingerprint config field and the X-Client-Cert-Fingerprint forwarding header use. The raw hex (no colons) is the credential SELECTOR the authn registry indexes; this colon-separated form is the OPERATOR-facing display format (config and headers), so the two never collide.