public class CardReaderUtils extends Device
构造器 | 说明 |
---|---|
CardReaderUtils() |
限定符和类型 | 方法 | 说明 |
---|---|---|
static byte[] |
AesDecrypt(byte[] jindata) |
|
static byte[] |
AesEncrypt(byte[] jindata) |
|
static int |
AesSetKey(byte[] jkey) |
|
static int |
Anticoll(int iMode,
byte[] outData,
short[] outLen) |
|
static int |
BeepMs(int millsec) |
|
static void |
Close() |
|
static int |
CpuCos(byte[] indata,
short cosLen,
byte[] outData,
short[] outLen) |
|
static int |
CpuCosEnc(byte[] indata,
short cosLen,
byte[] outData,
short[] outLen) |
|
static int |
CpuResetA(byte[] outData,
short[] outLen) |
|
static int |
GetChipSn(byte[] sn) |
|
static int |
GetVer(byte[] ver) |
|
boolean |
isPowerOn() |
判断设备是否上电
Judge the device is powered on or not. |
static int |
Open() |
|
static int |
Request(int iMode,
byte[] outData,
short[] outLen) |
|
static int |
SetAntenna(byte state) |
|
static int |
Verify(byte[] sdate,
short len) |
public static int GetChipSn(byte[] sn)
public static int GetVer(byte[] ver)
public static int BeepMs(int millsec)
public static int Verify(byte[] sdate, short len)
public static int SetAntenna(byte state)
public static int Request(int iMode, byte[] outData, short[] outLen)
public static int Anticoll(int iMode, byte[] outData, short[] outLen)
public static int CpuCos(byte[] indata, short cosLen, byte[] outData, short[] outLen)
public static int CpuCosEnc(byte[] indata, short cosLen, byte[] outData, short[] outLen)
public static int CpuResetA(byte[] outData, short[] outLen)
public static int Open()
public static void Close()
public boolean isPowerOn()
Device
public static int AesSetKey(byte[] jkey)
public static byte[] AesEncrypt(byte[] jindata)
public static byte[] AesDecrypt(byte[] jindata)