Here you can find the source of getSignatureContent(Properties properties)
public static String getSignatureContent(Properties properties)
//package com.java2s; //License from project: Apache License import java.util.*; public class Main { public static String getSignatureContent(Properties properties) { StringBuffer content = new StringBuffer(); List keys = new ArrayList(properties.keySet()); Collections.sort(keys);//from www . java 2 s.c o m for (int i = 0; i < keys.size(); i++) { String key = (String) keys.get(i); String value = properties.getProperty(key); content.append(String.valueOf(i != 0 ? "&" : "") + key + "=" + value); } return content.toString(); } }