Code example for RSAMultiPrimePrivateCrtKeySpec

Methods: getPrivateExponent

0
     * Test for <code>getPrivateExponent()</code> method<br> 
     * Assertion: returns private exponent 
     */ 
    public final void testGetPrivateExponent() { 
        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.getPrivateExponent()));
    } 
 
// private stuff 
//     
    /** 
Stop searching for code, let great code find you!  Add Codota to your java IDE