public static CertificateEntry createForX509Certificate(X509Certificate cert)
            throws CertificateEncodingException {
        return createForX509Certificate(cert.getEncoded());
    }
Creates a CertificateEntry with type PRECERT_ENTRY

@throws IllegalArgumentException if issuerKeyHash isn't 32 bytes
common/src/main/java/org/conscrypt/ct/CertificateEntry.java