Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java382 PKCS8EncodedKeySpec privateKeySpec = new PKCS8EncodedKeySpec(pkcs8EncodedForm); in getRawResPrivateKey() local
385 return KeyFactory.getInstance("EC").generatePrivate(privateKeySpec); in getRawResPrivateKey()
388 return KeyFactory.getInstance("RSA").generatePrivate(privateKeySpec); in getRawResPrivateKey()