package java.security;

import java.security.spec.InvalidKeySpecException;
import java.security.spec.KeySpec;

public class KeyFactory
{

 public static KeyFactory getInstance(String) throws NoSuchAlgorithmException
 {
  return null;
 }
 
 public final PublicKey generatePublic(KeySpec) throws InvalidKeySpecException
 {
  return null;
 }
 
}