pub fn parse_der(der_bytes: &[u8]) -> Result<CertMetadata>Expand description
Parse a DER-encoded X.509 certificate and extract the metadata the log server stores alongside the leaf hash. The leaf hash is SHA-256 of the DER bytes (the certificate fingerprint).