Skip to main content

certificate_fingerprint

Function certificate_fingerprint 

Source
pub fn certificate_fingerprint(der: &[u8]) -> String
Available on crate features grpc-tls or tls-rustls only.
Expand description

A certificate’s name when nothing else names it: sha256: and the SHA-256 digest of its DER encoding, in lowercase hex.