Code example for RSAMultiPrimePrivateCrtKeySpec

Methods: getOtherPrimeInfo

0
     * Assertion: returns null if null has been passed to the 
     * constructor as otherPrimeInfo parameter 
     */ 
    public final void testGetOtherPrimeInfo02() { 
        RSAMultiPrimePrivateCrtKeySpec ks =
            new RSAMultiPrimePrivateCrtKeySpec(
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    BigInteger.ONE,
                    null); 
        assertNull(ks.getOtherPrimeInfo());
    } 
 
    // 
    // immutability tests 
    //