Home
last modified time | relevance | path

Searched refs:keyFact (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1110 KeyFactory keyFact = KeyFactory.getInstance(keyType); in assertPrivateKeyEntryEquals() local
1111 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); in assertPrivateKeyEntryEquals()
1194 KeyFactory keyFact = KeyFactory.getInstance("RSA"); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() local
1195 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_GetKey_NoPassword_Unencrypted_Success()
1324 KeyFactory keyFact = KeyFactory.getInstance("RSA"); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local
1325 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success()
1352 final KeyFactory keyFact = KeyFactory.getInstance("RSA"); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Unencrypted_Success() local
1357 PrivateKey expectedKey = keyFact in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Unencrypted_Success()
1383 PrivateKey expectedKey = keyFact in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Unencrypted_Success()
1433 KeyFactory keyFact = KeyFactory.getInstance("RSA"); in testKeyStore_SetEntry_CAEntry_Overwrites_PrivateKeyEntry_Unencrypted_Success() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java232 KeyFactory keyFact = KeyFactory.getInstance("RSA"); in doInBackground() local
233 privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(userKey.toByteArray())); in doInBackground()