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

ElGamalPrivateKeyParameters

public class ElGamalPrivateKeyParameters extends ElGamalKeyParameters

Fields Summary
private BigInteger
x
Constructors Summary
public ElGamalPrivateKeyParameters(BigInteger x, ElGamalParameters params)

        super(true, params);

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

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

        ElGamalPrivateKeyParameters  pKey = (ElGamalPrivateKeyParameters)obj;

        if (!pKey.getX().equals(x))
        {
            return false;
        }

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

        return x;