what-the-bank/sources/org/bouncycastle/jce/spec/GOST3410PublicKeyParameterS...

41 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.jce.spec;
import java.math.BigInteger;
/* loaded from: classes6.dex */
public class GOST3410PublicKeyParameterSetSpec {
private BigInteger a;
private BigInteger p;
private BigInteger q;
public int hashCode() {
return (this.a.hashCode() ^ this.p.hashCode()) ^ this.q.hashCode();
}
public BigInteger getQ() {
return this.q;
}
public BigInteger getP() {
return this.p;
}
public BigInteger getA() {
return this.a;
}
public boolean equals(Object obj) {
if (!(obj instanceof GOST3410PublicKeyParameterSetSpec)) {
return false;
}
GOST3410PublicKeyParameterSetSpec gOST3410PublicKeyParameterSetSpec = (GOST3410PublicKeyParameterSetSpec) obj;
return this.a.equals(gOST3410PublicKeyParameterSetSpec.a) && this.p.equals(gOST3410PublicKeyParameterSetSpec.p) && this.q.equals(gOST3410PublicKeyParameterSetSpec.q);
}
public GOST3410PublicKeyParameterSetSpec(BigInteger bigInteger, BigInteger bigInteger2, BigInteger bigInteger3) {
this.p = bigInteger;
this.q = bigInteger2;
this.a = bigInteger3;
}
}