public class AuthDTO extends Object implements BaseReqDTO
| 构造器和说明 |
|---|
AuthDTO() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AuthDTO |
build(String appKey,
String masterSecret)
生成签名
|
void |
check()
参数校验, 当参数有问题时,直接抛出异常
ApiException |
String |
getAppkey() |
String |
getSign() |
Long |
getTimestamp() |
static String |
hex(byte[] data) |
void |
setAppkey(String appkey) |
void |
setSign(String sign) |
void |
setTimestamp(Long timestamp) |
String |
toString() |
public static AuthDTO build(String appKey, String masterSecret)
appKey - masterSecret - public static String hex(byte[] data)
public void check()
throws ApiException
BaseDTOApiExceptioncheck 在接口中 BaseDTOApiExceptionpublic String getSign()
public void setSign(String sign)
public Long getTimestamp()
public void setTimestamp(Long timestamp)
public String getAppkey()
public void setAppkey(String appkey)
Copyright © 2022. All rights reserved.