public class GNetPlusKey
extends java.lang.Object
| Constructor and Description |
|---|
GNetPlusKey(byte[] bRandomKey) |
GNetPlusKey(byte[] bRandomKey,
byte[] bCRC) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Decrypt(byte[] bSrc,
byte[] bKey) |
static byte[] |
Encrypt(byte[] bSrc,
byte[] bKey) |
byte[] |
getAESKey() |
static byte[] |
getClientKey(java.lang.String szIMEI,
java.lang.String szUserPIN) |
static int |
getGNetPlusCRC(byte[] bData) |
byte[] |
getRandomKey() |
public GNetPlusKey(byte[] bRandomKey)
public GNetPlusKey(byte[] bRandomKey,
byte[] bCRC)
public byte[] getRandomKey()
public byte[] getAESKey()
public static byte[] getClientKey(java.lang.String szIMEI,
java.lang.String szUserPIN)
public static int getGNetPlusCRC(byte[] bData)
public static byte[] Decrypt(byte[] bSrc,
byte[] bKey)
throws java.lang.Exception
java.lang.Exceptionpublic static byte[] Encrypt(byte[] bSrc,
byte[] bKey)
throws java.lang.Exception
java.lang.Exception