Code example for RSAKeyGenParameterSpec

Methods: getKeysize

0
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "RSAKeyGenParameterSpec", 
        args = {int.class, java.math.BigInteger.class}
    ) 
    public final void testRSAKeyGenParameterSpec() { 
        AlgorithmParameterSpec aps =
            new RSAKeyGenParameterSpec(512, BigInteger.valueOf(0L));
        assertTrue(aps instanceof RSAKeyGenParameterSpec);
    } 
 
    /** 
     * Test for <code>getKeySize()</code> method<br> 
     * Assertion: returns key size value 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getKeysize", 
        args = {} 
    )