Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java57 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in createRsaPrivateKeyFromKeyFile() local
59 keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pemObject.getContent())); in createRsaPrivateKeyFromKeyFile()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java238 KeyFactory keyFactory = KeyFactory.getInstance(algorithm); in setPrivateKey() local
239 mUserKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(bytes)); in setPrivateKey()