pub fn leaf_fingerprint(leaf: &X509Ref) -> Result<[u8; 32]>
Compute the leaf pin used when commissioning a loopback TLS endpoint.