Code example for RSAMultiPrimePrivateCrtKeySpec

Methods: getPrimeExponentP

0
     * Test for <code>getPrimeExponentP()</code> method<br> 
     * Assertion: returns prime exponent P 
     */ 
    public final void testGetPrimeExponentP() { 
        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.getPrimeExponentP()));
    } 
 
    /** 
     * Test for <code>getPrimeExponentQ()</code> method<br> 
     * Assertion: returns prime exponent Q 
Contextual code suggestions in your IDE  Get Codota for Java