Code example for RSAPrivateCrtKeySpec

Methods: getModulus

0
                BigInteger.ONE,
                BigInteger.ONE,
                BigInteger.valueOf(5L),
                BigInteger.ONE,
                BigInteger.ONE,
                BigInteger.ONE,
                BigInteger.ONE);
        assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeP()));
    } 
 
    /** 
     * Test for <code>getPrimeQ()</code> method<br> 
     * Assertion: returns prime Q 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getPrimeQ", 
        args = {} 
    ) 
    public final void testGetPrimeQ() {