public static String getImportPublicCommand(ImportPublicParam param)
			throws Exception {
		if (param == null || param.getStorepass() == null
				|| param.getStorepass().trim().equals(""))
			throw new Exception(
					"param or param.keypass or param.storepass or param.dname is not null or \"\"");
		StringBuffer command = new StringBuffer();
		command.append("keytool -import -alias " + param.getAlias() + " -file "
				+ param.getCert_file() + " -storepass " + param.getStorepass()
				+ " -keystore " + param.getKeystore());
		return command.toString();
	}