/*
 * Decompiled with CFR 0.152.
 */
package com.l7tech.server.security.cert;

import java.security.cert.CertificateEncodingException;
import java.security.cert.X509Certificate;
import java.util.Arrays;
import java.util.Objects;

final class m {
    private final String a;
    private final byte[] b;
    private final boolean c;
    private final int d;

    private m(String string, X509Certificate x509Certificate, boolean bl2) throws CertificateEncodingException {
        this.a = string;
        this.b = x509Certificate.getEncoded();
        this.c = bl2;
        this.d = Arrays.hashCode(this.b) + 13 * Objects.hash(string, bl2);
    }

    public boolean equals(Object object) {
        if (this == object) {
            return true;
        }
        if (object == null || this.getClass() != object.getClass()) {
            return false;
        }
        m m2 = (m)object;
        if (!Arrays.equals(this.b, m2.b)) {
            return false;
        }
        if (!this.a.equals(m2.a)) {
            return false;
        }
        return this.c == m2.c;
    }

    public int hashCode() {
        return this.d;
    }
}

