@Override
    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof LogInfo)) {
            return false;
        }

        LogInfo that = (LogInfo) other;
        return this.state == that.state && this.description.equals(that.description)
                && this.url.equals(that.url) && this.operator.equals(that.operator)
                && this.stateTimestamp == that.stateTimestamp
                && Arrays.equals(this.logId, that.logId);
    }
Get the log's ID, that is the SHA-256 hash of it's public key
common/src/main/java/org/conscrypt/ct/LogInfo.java