Code example for RSAMultiPrimePrivateCrtKeySpec

Methods: getPrimeExponentP

0
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Verifies IllegalArgumentException.", 
        method = "RSAMultiPrimePrivateCrtKeySpec", 
        args = {java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.security.spec.RSAOtherPrimeInfo[].class}
    ) 
    public final void testRSAMultiPrimePrivateCrtKeySpec11() { 
        try { 
            new RSAMultiPrimePrivateCrtKeySpec(
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    new RSAOtherPrimeInfo[0]);
            fail("Expected IAE not thrown");
        } catch (IllegalArgumentException e) {
        } 
    }