Home
last modified time | relevance | path

Searched refs:expectedKey (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1110 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); in assertPrivateKeyEntryEquals() local
1123 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
1126 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, PrivateKey expectedKey, in assertPrivateKeyEntryEquals() argument
1131 if (expectedKey instanceof ECKey) { in assertPrivateKeyEntryEquals()
1135 ((ECKey) expectedKey).getParams().getCurve(), in assertPrivateKeyEntryEquals()
1137 } else if (expectedKey instanceof RSAKey) { in assertPrivateKeyEntryEquals()
1141 ((RSAKey) expectedKey).getModulus(), in assertPrivateKeyEntryEquals()
1194 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() local
1197 ((RSAKey) expectedKey).getModulus(), actualKey.getModulus()); in testKeyStore_GetKey_NoPassword_Unencrypted_Success()
1324 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local
[all …]
DKeyStoreTest.java1689 Key expectedKey = expected.getKey(alias, PASSWORD_KEY); in assertEqualsKeyStores() local
1691 expectedKey instanceof RSAPrivateKey) { in assertEqualsKeyStores()
1693 ((RSAPrivateKey)expectedKey).getModulus()); in assertEqualsKeyStores()
1695 assertEquals(actualKey, expectedKey); in assertEqualsKeyStores()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java666 private void assertCallExtras(final Call call, final String expectedKey) { in assertCallExtras() argument
671 return expectedKey; in assertCallExtras()
676 return call.getDetails().getExtras().containsKey(expectedKey) ? expectedKey in assertCallExtras()
681 "Call should have extras key " + expectedKey in assertCallExtras()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAuthenticationTest.java1121 private void assertClientState(String where, Bundle data, String expectedKey, in assertClientState() argument
1124 final String extraValue = data.getString(expectedKey); in assertClientState()
1125 assertWithMessage("invalid value for %s on %s", expectedKey, where) in assertClientState()