pub fn calculate_fingerprint( certificate: &[u8], ) -> Result<Vec<u8>, CertificateError>
Compute fingerprint from a certificate that is encoded in pem format