Code example for RSAPrivateCrtKeySpec

Methods: getPublicExponent

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