Skip to main content

cert_sha256

Function cert_sha256 

Source
pub fn cert_sha256(cert_der: &[u8]) -> [u8; 32]
Expand description

SHA-256 fingerprint of a DER-encoded certificate, as 32 raw bytes — the cert-hash pin used in QuicServerAuth, the DID-doc #quic entry, and the StreamInfo.reach Quic option (#274). The fingerprint is public material.