catch (NoSuchAlgorithmException ignored) {}
catch (NoSuchAlgorithmException e) {  }
  public static KeyFactory getInstance(String algorithm)    throws NoSuchAlgorithmException  {    Provider[] p = Security.getProviders();    for (int i = 0; i < p.length; i++)      try      {          return getInstance(algorithm, p[i]);      }      catch (NoSuchAlgorithmException ignored) {}    throw new NoSuchAlgorithmException(algorithm);  }