Searched refs:expectedKeySize (Results 1 – 2 of 2) sorted by relevance
1397 private void checkPrivateCrtKey(RSAPrivateCrtKey key, int expectedKeySize) throws Exception { in checkPrivateCrtKey() argument1409 assertEquals(expectedKeySize, n.bitLength()); in checkPrivateCrtKey()1416 assertTrue(d.bitLength() > expectedKeySize / 2); in checkPrivateCrtKey()
251 public void testKeyPair(KeyPair keyPair, int expectedKeySize) throws Exception { in testKeyPair() argument256 assertEquals("wrong key size", keySize, expectedKeySize); in testKeyPair()