Code example for DSAPublicKeySpec

Methods: getY

0
 
    /** 
     * Test for <code>getY</code> method  
     */ 
    public final void testGetY() { 
        DSAPublicKeySpec dpks = new DSAPublicKeySpec(
                new BigInteger("1"), // y
                new BigInteger("2"), // p
                new BigInteger("3"), // q
                new BigInteger("4"));// g
         
        assertEquals(1, dpks.getY().intValue());
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java