Code example for DSAParameterSpec

Methods: getP

0
 
    /** 
     * getP() test 
     */ 
    public final void testGetP() { 
        DSAParameterSpec dps = new DSAParameterSpec(
                new BigInteger("1"),
                new BigInteger("2"),
                new BigInteger("3"));
         
        assertEquals(1, dps.getP().intValue());
    } 
 
    /** 
     * getQ() test  
     */ 
    public final void testGetQ() { 
        DSAParameterSpec dps = new DSAParameterSpec(
                new BigInteger("1"),
                new BigInteger("2"),
Stop searching for code, let great code find you!  Add Codota to your java IDE