Code example for RSAMultiPrimePrivateCrtKeySpec

Methods: getOtherPrimeInfo

0
        method = "getPrimeExponentQ", 
        args = {} 
    ) 
    public final void testGetPrimeExponentQ() { 
        RSAMultiPrimePrivateCrtKeySpec ks =
            new RSAMultiPrimePrivateCrtKeySpec(
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    opi);
        assertTrue(BigInteger.ONE.equals(ks.getPrimeExponentQ()));
    } 
 
    /** 
     * Test for <code>getPrimeP()</code> method<br> 
     * Assertion: returns prime P