Searched refs:keyFactory (Results 1 – 3 of 3) sorted by relevance
152 KeyFactory keyFactory; in toPrivateKey() local155 keyFactory = KeyFactory.getInstance("rsa"); in toPrivateKey()158 keyFactory = KeyFactory.getInstance("dsa"); in toPrivateKey()161 keyFactory = KeyFactory.getInstance("ec"); in toPrivateKey()167 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in toPrivateKey()
127 val keyFactory = annotationNameToKeyFactory.get(qualifiedName) in <lambda>() constant128 if (keyFactory != null) { in <lambda>()129 return keyFactory(annotationItem) in <lambda>()
534 SecretKeyFactory keyFactory = in decryptPkcs8EncodedKey() local541 SecretKey decryptionKey = keyFactory.generateSecret(decryptionKeySpec); in decryptPkcs8EncodedKey()