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.java1111 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); in assertPrivateKeyEntryEquals() local
1124 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
1127 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, PrivateKey expectedKey, in assertPrivateKeyEntryEquals() argument
1132 if (expectedKey instanceof ECKey) { in assertPrivateKeyEntryEquals()
1136 ((ECKey) expectedKey).getParams().getCurve(), in assertPrivateKeyEntryEquals()
1138 } else if (expectedKey instanceof RSAKey) { in assertPrivateKeyEntryEquals()
1142 ((RSAKey) expectedKey).getModulus(), in assertPrivateKeyEntryEquals()
1195 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() local
1198 ((RSAKey) expectedKey).getModulus(), actualKey.getModulus()); in testKeyStore_GetKey_NoPassword_Unencrypted_Success()
1325 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.java737 private void assertCallExtras(final Call call, final String expectedKey) { in assertCallExtras() argument
742 return expectedKey; in assertCallExtras()
747 return call.getDetails().getExtras().containsKey(expectedKey) ? expectedKey in assertCallExtras()
752 "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()