### Question:
JwkFactory { public static RSAKey fromJsonFile(String filePath){ try { log.debug("attempting to read jwk from path: {}", Path.of(filePath).toAbsolutePath()); String jsonJwk = Files.readString(Path.of(filePath), StandardCharsets.UTF_8); return fromJson(jsonJwk); } catch (IOException e) { throw new JwkInvalidException(e); } }  static RSAKey fromJsonFile(String filePath); static RSAKey fromJson(String jsonJwk); static RSAKey fromKeyStore(String alias, InputStream keyStoreFile, String password);  }### Answer:
@Test void getKeyFromJwkFile() { RSAKey rsaKey = JwkFactory.fromJsonFile("src/test/resources/jwk.json"); assertThat(rsaKey.getKeyID()).isEqualTo("jlAX4HYKW4hyhZgSmUyOmVAqMUw"); assertThat(rsaKey.isPrivate()).isTrue(); assertThat(rsaKey.getPrivateExponent().toString()).isEqualTo("J_mMSpq8k4WH9GKeS6d1kPVrQz2jDslAy3b3zrBuiSdNtKgUN7jFhGXaiY-cAg3efhMc-MWwPa0raKEN9xQRtIdbJurJbNG3viCvo_8FNs5lmFCUIktuO12zvsJS63q-i1zsZ7_esYQHbeDqg9S3q98c2EIO8lxQvPBcq-OIjdxfuanAEWJIRNuvNkK5I0AcqF_Q_KeFQDHo5sWUkwyPCaddd-ogS_YDeK3eeUpQbElrusdv0Ai0iYBPukzEHz1aL8PbaYru9f6Alor6yt9Lc_FNKfi-gnNFdpg3-uqVEh-MhEXgyN1RkeZzt0Kk9rylHumjSpwEgzuuA2L3WnycUQ"); }