Searched refs:privateKeySpec (Results 1 – 1 of 1) sorted by relevance
382 PKCS8EncodedKeySpec privateKeySpec = new PKCS8EncodedKeySpec(pkcs8EncodedForm); in getRawResPrivateKey() local385 return KeyFactory.getInstance("EC").generatePrivate(privateKeySpec); in getRawResPrivateKey()388 return KeyFactory.getInstance("RSA").generatePrivate(privateKeySpec); in getRawResPrivateKey()