Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java142 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in createKey() local
143 return (PrivateKey) keyFactory.generatePrivate(keySpec); in createKey()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java179 KeyFactory keyFactory = KeyFactory.getInstance(algorithm);
180 userKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(bytes));
/frameworks/base/core/java/android/content/pm/
DPackageParser.java3991 final KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in parsePublicKey() local
3992 return keyFactory.generatePublic(keySpec); in parsePublicKey()
4002 final KeyFactory keyFactory = KeyFactory.getInstance("DSA"); in parsePublicKey() local
4003 return keyFactory.generatePublic(keySpec); in parsePublicKey()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1390 SecretKeyFactory keyFactory = SecretKeyFactory.getInstance(algorithm); in buildCharArrayKey() local
1392 return keyFactory.generateSecret(ks); in buildCharArrayKey()