docs: public static RsaJsonWebKey getJsonWebKeyFromJsonWebKeySet(final JsonWebKeySet jwks) {
          if (jwks.getJsonWebKeys().isEmpty()) {
              LOGGER.warn("No JSON web keys are available in the keystore");
              return null;
          }
  
          val key = (RsaJsonWebKey) jwks.getJsonWebKeys().get(0);
          if (StringUtils.isBlank(key.getAlgorithm())) {
              LOGGER.warn("Located JSON web key [{}] has no algorithm defined", key);
          }
          if (StringUtils.isBlank(key.getKeyId())) {
              LOGGER.warn("Located JSON web key [{}] has no key id defined", key);
          }
  
          if (key.getPublicKey() == null) {
              LOGGER.warn("Located JSON web key [{}] has no public key", key);
              return null;
          }
          return key;
      }