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

DHPublicKeyParameters

public class DHPublicKeyParameters extends DHKeyParameters

Fields Summary
private BigInteger
y
Constructors Summary
public DHPublicKeyParameters(BigInteger y, DHParameters params)

        super(false, params);

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

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

        DHPublicKeyParameters   pKey = (DHPublicKeyParameters)obj;

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

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

        return y;