package org.bouncycastle.crypto.params;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class DSAParameters implements org.bouncycastle.crypto.CipherParameters {
    private java.math.BigInteger a;
    private java.math.BigInteger b;
    private java.math.BigInteger c;
    private org.bouncycastle.crypto.params.DSAValidationParameters d;

    public DSAParameters(java.math.BigInteger bigInteger, java.math.BigInteger bigInteger2, java.math.BigInteger bigInteger3) {
        this.a = bigInteger3;
        this.c = bigInteger;
        this.b = bigInteger2;
    }

    public java.math.BigInteger a() {
        return this.a;
    }

    public java.math.BigInteger b() {
        return this.c;
    }

    public java.math.BigInteger c() {
        return this.b;
    }

    public org.bouncycastle.crypto.params.DSAValidationParameters d() {
        return this.d;
    }

    public boolean equals(java.lang.Object obj) {
        if (!(obj instanceof org.bouncycastle.crypto.params.DSAParameters)) {
            return false;
        }
        org.bouncycastle.crypto.params.DSAParameters dSAParameters = (org.bouncycastle.crypto.params.DSAParameters) obj;
        return dSAParameters.b().equals(this.c) && dSAParameters.c().equals(this.b) && dSAParameters.a().equals(this.a);
    }

    public int hashCode() {
        return a().hashCode() ^ (b().hashCode() ^ c().hashCode());
    }

    public DSAParameters(java.math.BigInteger bigInteger, java.math.BigInteger bigInteger2, java.math.BigInteger bigInteger3, org.bouncycastle.crypto.params.DSAValidationParameters dSAValidationParameters) {
        this.a = bigInteger3;
        this.c = bigInteger;
        this.b = bigInteger2;
        this.d = dSAValidationParameters;
    }
}
