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