Searched refs:keyFact (Results 1 – 2 of 2) sorted by relevance
1110 KeyFactory keyFact = KeyFactory.getInstance(keyType); in assertPrivateKeyEntryEquals() local1111 PrivateKey expectedKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(key)); in assertPrivateKeyEntryEquals()1194 KeyFactory keyFact = KeyFactory.getInstance("RSA"); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() local1195 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() local1325 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() local1357 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 …]
232 KeyFactory keyFact = KeyFactory.getInstance("RSA"); in doInBackground() local233 privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(userKey.toByteArray())); in doInBackground()