Searched refs:expectedKey (Results 1 – 2 of 2) sorted by relevance
1101 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); in assertPrivateKeyEntryEquals() local1114 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()1117 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, PrivateKey expectedKey, in assertPrivateKeyEntryEquals() argument1122 if (expectedKey instanceof ECKey) { in assertPrivateKeyEntryEquals()1126 ((ECKey) expectedKey).getParams().getCurve(), in assertPrivateKeyEntryEquals()1128 } else if (expectedKey instanceof RSAKey) { in assertPrivateKeyEntryEquals()1132 ((RSAKey) expectedKey).getModulus(), in assertPrivateKeyEntryEquals()1185 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() local1188 ((RSAKey) expectedKey).getModulus(), actualKey.getModulus()); in testKeyStore_GetKey_NoPassword_Unencrypted_Success()1315 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local[all …]
423 private void assertCallExtras(final Call call, final String expectedKey) { in assertCallExtras() argument428 return expectedKey; in assertCallExtras()433 return call.getDetails().getExtras().containsKey(expectedKey) ? expectedKey in assertCallExtras()438 "Call should have extras key " + expectedKey in assertCallExtras()