public class HttpKeyMgr
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
decrypt(byte[] input) |
byte[] |
encrypt(byte[] input) |
static HttpKeyMgr |
get() |
byte[] |
getaKey64() |
byte[] |
getsKey64() |
static void |
init(android.content.Context context) |
void |
reInitKeys() |
void |
saveKeyTimeout(java.lang.String keyTimeout) |
void |
saveSKey(java.lang.String x_s_key) |
public static void init(android.content.Context context)
public static HttpKeyMgr get()
public byte[] encrypt(byte[] input)
public byte[] decrypt(byte[] input)
public void saveSKey(java.lang.String x_s_key)
x_s_key - sKey的64编码public void saveKeyTimeout(java.lang.String keyTimeout)
public void reInitKeys()
public byte[] getaKey64()
public byte[] getsKey64()