Home
last modified time | relevance | path

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

/libcore/support/src/test/java/libcore/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java54 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); in getPrivateKey() local
57 keyFactory.getKeySpec(originalPrivateKey, RSAPrivateKeySpec.class); in getPrivateKey()
70 keyFactory.getKeySpec(originalPrivateKey, DSAPrivateKeySpec.class); in getPrivateKey()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java314 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in createPublicKey() local
315 return keyFactory.generatePublic(keySpec); in createPublicKey()
/libcore/ojluni/src/test/java/security/cert/
DX509CertSelectorTest.java501 KeyFactory keyFactory = KeyFactory.getInstance("DSA"); in testSubjectPublicKey() local
502 PublicKey pubKey = keyFactory.generatePublic(keySpec); in testSubjectPublicKey()