/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.common.io.CertUtils
 *  com.l7tech.security.cert.TrustedCert
 */
package com.l7tech.server.security.cert;

import com.l7tech.common.io.CertUtils;
import com.l7tech.security.cert.TrustedCert;
import java.math.BigInteger;
import java.security.cert.X509Certificate;

class b {
    final TrustedCert a;
    final X509Certificate b;
    final String c;
    final String d;
    final String e;
    final BigInteger f;

    b(TrustedCert trustedCert) {
        this.a = trustedCert;
        this.b = trustedCert.getCertificate();
        this.c = trustedCert.getSubjectDn();
        this.d = trustedCert.getSki();
        this.e = CertUtils.getIssuerDN((X509Certificate)this.b);
        this.f = this.b.getSerialNumber();
    }

    public boolean equals(Object object) {
        if (this == object) {
            return true;
        }
        if (object == null || this.getClass() != object.getClass()) {
            return false;
        }
        b b10 = (b)object;
        return !(this.a != null ? !this.a.equals((Object)b10.a) : b10.a != null);
    }

    public int hashCode() {
        return this.a != null ? this.a.hashCode() : 0;
    }
}

