Searched refs:keyFactory (Results 1 – 3 of 3) sorted by relevance
54 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); in getPrivateKey() local57 keyFactory.getKeySpec(originalPrivateKey, RSAPrivateKeySpec.class); in getPrivateKey()70 keyFactory.getKeySpec(originalPrivateKey, DSAPrivateKeySpec.class); in getPrivateKey()
314 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in createPublicKey() local315 return keyFactory.generatePublic(keySpec); in createPublicKey()
501 KeyFactory keyFactory = KeyFactory.getInstance("DSA"); in testSubjectPublicKey() local502 PublicKey pubKey = keyFactory.generatePublic(keySpec); in testSubjectPublicKey()