public final class b
{
public static String getSignature(String paramString1, String paramString2, com.jky.okhttputils.f.b paramb)
{
int j = 0;
Object localObject = paramb.a.keySet();
int k = ((Set)localObject).size();
paramString2 = new String[k];
localObject = ((Set)localObject).iterator();
int i = 0;
if (!((Iterator)localObject).hasNext())
{
Arrays.sort(paramString2);
localObject = new StringBuilder();
i = j;
}
for (;;)
{
if (i >= k)
{
((StringBuilder)localObject).append(paramString1);
return a.getMD5(((StringBuilder)localObject).toString()).toLowerCase();
paramString2 = ((String)((Iterator)localObject).next());
i += 1;
break;
}
((StringBuilder)localObject).append(paramString2);
((StringBuilder)localObject).append("=");
((StringBuilder)localObject).append((String)paramb.a.get(paramString2));
((StringBuilder)localObject).append("&");
i += 1;
}
}
public static String getSignature2(String paramString1, String paramString2, com.jky.okhttputils.f.b paramb)
{
int j = 0;
Object localObject = paramb.a.keySet();
int k = ((Set)localObject).size();
String[] arrayOfString = new String[k];
localObject = ((Set)localObject).iterator();
int i = 0;
if (!((Iterator)localObject).hasNext())
{
Arrays.sort(arrayOfString);
localObject = new StringBuilder();
((StringBuilder)localObject).append(paramString1);
i = j;
}
for (;;)
{
if (i >= k)
{
((StringBuilder)localObject).append(paramString2);
return a.getMD5(((StringBuilder)localObject).toString()).toUpperCase();
arrayOfString = ((String)((Iterator)localObject).next());
i += 1;
break;
}
((StringBuilder)localObject).append(arrayOfString);
((StringBuilder)localObject).append((String)paramb.a.get(arrayOfString));
i += 1;
}
}
}
String paramString1 参数是 ybz String paramString2 参数是 最后一个是一个对象