com.pax.dal.entity
Class ApduSendInfo
- java.lang.Object
-
- com.pax.dal.entity.ApduSendInfo
-
public class ApduSendInfo extends java.lang.Object
IC卡发送的APDU指令实体类。IC card sends APDU instruction entity class.lc= 0;le= 0. There are no data sent and no data returned.lc= 0;le= 0. No data is sent but expected data is returned. If the number of data expected to be returned by the terminal in practical application is unknown,le= 256; Otherwise, it is a certain value.lc= 0;le= 0. There is data sent but no expected data is returned.lc= 0;le= 0. There is sent data and expected data is returned. If the number of expected data returned by the terminal in practical application is unknown,le= 256;Otherwise, it is a certain value.lc= 0;le= 0. Note: Sincele= 0 indicates that no data is required to be returned,le= 256 should be set in practice ifle= 0 is required to be sent in the command.
-
-
Constructor Summary
Constructors Constructor and Description ApduSendInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description byte[]getCommand()获取command, command格式:CLA,INS,P1,P2get command, command format:CLA,INS,P1,P2byte[]getDataIn()设置传入数据set dataintgetLc()获取lcget lcintgetLe()获取leget levoidsetCommand(byte[] command)设置command, command格式:CLA,INS,P1,P2set command, command foramt:CLA,INS,P1,P2voidsetDataIn(byte[] dataIn)获取传入数据get datavoidsetLc(int lc)设置lcset lcvoidsetLe(int le)设置leset le
-
-
-
Constructor Detail
-
ApduSendInfo
public ApduSendInfo()
-
-
Method Detail
-
getCommand
public byte[] getCommand()
获取command, command格式:CLA,INS,P1,P2get command, command format:CLA,INS,P1,P2- Returns:
-
setCommand
public void setCommand(byte[] command)
设置command, command格式:CLA,INS,P1,P2set command, command foramt:CLA,INS,P1,P2- Parameters:
command-
-
getDataIn
public byte[] getDataIn()
设置传入数据set data- Returns:
-
setDataIn
public void setDataIn(byte[] dataIn)
获取传入数据get data- Parameters:
dataIn-
-
getLc
public int getLc()
获取lcget lc- Returns:
-
setLc
public void setLc(int lc)
设置lcset lc
-
getLe
public int getLe()
获取leget le- Returns:
-
setLe
public void setLe(int le)
设置leset le- Parameters:
le-
-
-