public static String getExportPublicCommand(ExportPublicParam param)
			throws Exception {
		if (param == null || param.getPrivateStorePass() == null
				|| param.getPrivateStorePass().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 -export -alias " + param.getAlias() + " -file "
				+ param.getExport_file() + " -storepass "
				+ param.getPrivateStorePass() + " -keystore "
				+ param.getKeystore());
		return command.toString();
	}