com.pax.dal
Interface ISle4442
-
Deprecated.
@Deprecated public interface ISle4442
- Since:
- V2.00.01
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method and Description voidsle4442Close(int slot)Deprecated.voidsle4442Open(int slot)Deprecated.byte[]sle4442ReadMMem(int slot, int Addr, int length)Deprecated.byte[]sle4442ReadProMMem(int slot)Deprecated.byte[]sle4442Reset(int slot)Deprecated.voidsle4442UpdateSc(int slot, byte[] newPwd)Deprecated.voidsle4442VerifySc(int slot, byte[] pwd)Deprecated.voidsle4442WriteMMem(int slot, int Addr, int length, byte[] dataIn)Deprecated.voidsle4442WriteProMMem(int slot, int Addr, int length, byte[] dataIn)Deprecated.
-
-
-
Method Detail
-
sle4442Open
@Deprecated void sle4442Open(int slot) throws Sle4442DevException
Deprecated.上电复位SLE4442模块、检查模块的初始状态是否正常Power on and reset Sle4442 module, and check whether initial staus of the module is normal.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 now- Throws:
Sle4442ExceptionSle4442DevException
-
sle4442Close
@Deprecated void sle4442Close(int slot) throws Sle4442DevException
Deprecated.下电SLE4442模块,并设置其为停用态Close Sle4442 module, and make it in stop status.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 now- Throws:
Sle4442DevException
-
sle4442Reset
@Deprecated byte[] sle4442Reset(int slot) throws Sle4442DevException
Deprecated.复位 IC卡,并返回卡的ATRReset IC card and return ATR of the card.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 now- Returns:
- 返回的卡的ATRATR Answer To Reset information of the card.
- Throws:
Sle4442DevException
-
sle4442ReadMMem
@Deprecated byte[] sle4442ReadMMem(int slot, int Addr, int length) throws Sle4442DevException
Deprecated.读取数据Read data.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 nowAddr-开始读取的位置,范围在0~255the start address to read, its valid range is 0~255.length-要读取的数据的长度,范围为1至256。the length of the data to be read, its valid range is 1~256.- Returns:
- 被读取到的数据the data has been read
- Throws:
Sle4442DevException
-
sle4442WriteMMem
@Deprecated void sle4442WriteMMem(int slot, int Addr, int length, byte[] dataIn) throws Sle4442DevException
Deprecated.写入数据Write data.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 nowAddr-开始写入的位置,范围在0~255the start address to write, its valid range is 0~255.length-要写入的数据长度,范围在0~255the length of the data to be writen, its valid range is 0~255.dataIn-数据字节number bytes of data- Throws:
Sle4442DevException
-
sle4442ReadProMMem
@Deprecated byte[] sle4442ReadProMMem(int slot) throws Sle4442DevException
Deprecated.读取被保护的数据Read proteceted data.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 now- Returns:
- 被读到的数据the data has been read
- Throws:
Sle4442DevException
-
sle4442WriteProMMem
@Deprecated void sle4442WriteProMMem(int slot, int Addr, int length, byte[] dataIn) throws Sle4442DevException
Deprecated.写入被保护的数据Write proteceted data.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 nowAddr-开始写入的位置,范围在0~31the start address to write, its valid range is 0~31.length-要写入的数据长度,范围在1~32the length of the data to be writen, its valid range is 1~32.dataIn-数据字节number bytes of data- Throws:
Sle4442DevException
-
sle4442VerifySc
@Deprecated void sle4442VerifySc(int slot, byte[] pwd) throws Sle4442DevException
Deprecated.验证密码Verify password.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 nowpwd-密码数据字节,需要3个字节number bytes of password, should be 3 bytes- Throws:
Sle4442DevException
-
sle4442UpdateSc
@Deprecated void sle4442UpdateSc(int slot, byte[] newPwd) throws Sle4442DevException
Deprecated.更新密码Update password.- Parameters:
slot-目标通道号。 目前仅支持0the number of card channel which should be initialized. alway 0 nownewPwd-新的密码数据字节,需要3个字节number bytes of password,should be 3 bytes- Throws:
Sle4442DevException
-
-