public class GeneralRequestSignature extends Object implements RequestSignature
Constructor and Description |
---|
GeneralRequestSignature() |
Modifier and Type | Method and Description |
---|---|
String |
generateSign() |
protected static boolean |
isUseMasterKey() |
static String |
requestSign(long ts,
boolean useMasterKey) |
static String |
requestSign(String key,
long ts,
String suffix) |
static void |
setMasterKey(String masKey) |
public String generateSign()
generateSign
in interface RequestSignature
public static String requestSign(long ts, boolean useMasterKey)
public static void setMasterKey(String masKey)
protected static boolean isUseMasterKey()
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.