code: public static void convertFile(File keyFile, int toFormat, File toFile)
  			throws IOException {
  
  		SshPublicKeyFile pub = parse(new FileInputStream(keyFile));
  		createFile(pub.toPublicKey(), pub.getComment(), toFormat, toFile);
  	}
docs: Take a file in any of the supported public key formats and convert to the
  requested format.
  
  @param keyFile
  @param toFormat
  @param toFile
  @throws IOException