public class KdtApiProtocol extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALLOWED_DEVIATE_SECONDS |
static String |
APP_ID_KEY |
static int |
ERR_EMPTY_SIGNATURE |
static int |
ERR_INVALID_APP |
static int |
ERR_INVALID_APP_ID |
static int |
ERR_INVALID_METHOD |
static int |
ERR_INVALID_METHOD_NAME |
static int |
ERR_INVALID_SIGNATURE |
static int |
ERR_INVALID_TEAM |
static int |
ERR_INVALID_TIMESTAMP |
static int |
ERR_LOGIC |
static int |
ERR_PARAMETER |
static int |
ERR_SYSTEM |
static String |
FORMAT_KEY |
static String |
METHOD_KEY |
static String |
SIGN_KEY |
static String |
SIGN_METHOD_KEY |
static String |
TIMESTAMP_KEY |
static String |
VERSION_KEY |
Constructor and Description |
---|
KdtApiProtocol() |
Modifier and Type | Method and Description |
---|---|
static String |
sign(String appSecret,
HashMap<String,String> parames) |
public static final String APP_ID_KEY
public static final String METHOD_KEY
public static final String TIMESTAMP_KEY
public static final String FORMAT_KEY
public static final String VERSION_KEY
public static final String SIGN_KEY
public static final String SIGN_METHOD_KEY
public static final int ALLOWED_DEVIATE_SECONDS
public static final int ERR_SYSTEM
public static final int ERR_INVALID_APP_ID
public static final int ERR_INVALID_APP
public static final int ERR_INVALID_TIMESTAMP
public static final int ERR_EMPTY_SIGNATURE
public static final int ERR_INVALID_SIGNATURE
public static final int ERR_INVALID_METHOD_NAME
public static final int ERR_INVALID_METHOD
public static final int ERR_INVALID_TEAM
public static final int ERR_PARAMETER
public static final int ERR_LOGIC
Copyright © 2016–2017. All rights reserved.