package org.bouncycastle.crypto.params; import java.math.BigInteger; /* loaded from: classes6.dex */ public class ElGamalPublicKeyParameters extends ElGamalKeyParameters { private BigInteger y; @Override // org.bouncycastle.crypto.params.ElGamalKeyParameters public int hashCode() { return this.y.hashCode() ^ super.hashCode(); } public BigInteger getY() { return this.y; } @Override // org.bouncycastle.crypto.params.ElGamalKeyParameters public boolean equals(Object obj) { return (obj instanceof ElGamalPublicKeyParameters) && ((ElGamalPublicKeyParameters) obj).getY().equals(this.y) && super.equals(obj); } public ElGamalPublicKeyParameters(BigInteger bigInteger, ElGamalParameters elGamalParameters) { super(false, elGamalParameters); this.y = bigInteger; } }