public class SignUtils extends Object
| Constructor and Description |
|---|
SignUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
sign(String msg,
String appKey,
String signKey,
String timestamp)
对报文进行加签
|
public static String sign(String msg, String appKey, String signKey, String timestamp) throws UnsupportedEncodingException
msg - 需要签名的字符串appKey - 开发者中心的appKeysignKey - 开发者中心的加签秘钥timestamp - 时间戳UnsupportedEncodingExceptionCopyright © 2021. All rights reserved.