Code example for BigInteger

Methods: signum

0
        this.g = new MPInteger(in);
        this.y = new MPInteger(in);
    } 
 
    public ElGamalPublicBCPGKey( 
        BigInteger    p,
        BigInteger    g,
        BigInteger    y)
    { 
        this.p = new MPInteger(p);
        this.g = new MPInteger(g);
        this.y = new MPInteger(y);
    } 
     
    /** 
     *  return "PGP" 
     *  
     * @see com.google.bitcoin.bouncycastle.bcpg.BCPGKey#getFormat() 
     */ 
    public String getFormat() 
    {