Searched refs:FAKE_RSA_KEY_1 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 225 private static final byte[] FAKE_RSA_KEY_1 = new byte[] { field in AndroidKeyStoreTest 769 return new KeyStore.PrivateKeyEntry(generatePrivateKey("RSA", FAKE_RSA_KEY_1), in makeUserRsaKey1() 1061 … assertPrivateKeyEntryEquals(keyEntry, "RSA", FAKE_RSA_KEY_1, FAKE_RSA_USER_1, FAKE_RSA_CA_1); in testKeyStore_GetEntry_NullParams_Unencrypted_Success() 1093 assertPrivateKeyEntryEquals(keyEntry, "RSA", FAKE_RSA_KEY_1, FAKE_RSA_USER_1, in testKeyStore_GetEntry_RSA_NullParams_Unencrypted_Success() 1185 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() 1315 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() 1335 assertPrivateKeyEntryEquals(actual, "RSA", FAKE_RSA_KEY_1, FAKE_RSA_USER_1, FAKE_RSA_CA_1); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() 1350 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Params_Unencrypted_Failure() 1382 .generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Unencrypted_Success() 1400 assertPrivateKeyEntryEquals(actual, "RSA", FAKE_RSA_KEY_1, FAKE_RSA_USER_1, in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Unencrypted_Success() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 319 private static final byte[] FAKE_RSA_KEY_1 = new byte[] { field in WebViewSslTest 1014 new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in onReceivedClientCertRequest()
|