FileDocCategorySizeDatePackage
ElGamalPublicKeyParameters.javaAPI DocAzureus 3.0.3.4770Tue Jun 08 05:13:00 BST 2004org.bouncycastle.crypto.params

ElGamalPublicKeyParameters

public class ElGamalPublicKeyParameters extends ElGamalKeyParameters

Fields Summary
private BigInteger
y
Constructors Summary
public ElGamalPublicKeyParameters(BigInteger y, ElGamalParameters params)

        super(false, params);

        this.y = y;
    
Methods Summary
public booleanequals(java.lang.Object obj)

        if (!(obj instanceof ElGamalPublicKeyParameters))
        {
            return false;
        }

        ElGamalPublicKeyParameters   pKey = (ElGamalPublicKeyParameters)obj;

        if (!pKey.getY().equals(y))
        {
            return false;
        }

        return super.equals(obj);
    
public java.math.BigIntegergetY()

        return y;