|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcn.com.BTPaySDK.IDTMSRData
public class IDTMSRData
This class provides all information of card data.
Application can get the card data by calling the Properties of class IDTMSRData when finish swiping.
Field Summary | |
---|---|
byte |
captureEncodeType
Get the swiped card decoded status. 0x00:decoded data success; Bit0:1-track1 data error; Bit1:1-track2 data error; Bit2:1-track3 data error; Bit3:1-track1 encrypted data error; Bit4:1-track2 encrypted data error; Bit5:1-track3 encrypted data error; Bit6:1-KSN error; |
byte |
captureEncryptType
Get the swiped card encrypted type. 0x01:TDES; 0x02:AES; |
byte[] |
cardData
Get the swiped card data. Containing complete unparsed swipe data as received from MSR. |
byte |
cardType
Get the swiped card type. MSR card type: 0x80:ISO/ABA format 0x81:AAMVA format 0x83:Other 0x84:Raw; undecoded format |
byte[] |
encTrack1
Get the swiped card Track1 data. A byte array containing Track1 data. |
byte[] |
encTrack2
Get the swiped card Track2 data. |
byte[] |
encTrack3
Get the swiped card Track3 data. |
byte[] |
KSN
Get the swiped card KSN (Key Serial Number). A byte array containing 10 bytes. |
java.lang.String |
track1
Get the swiped card Track1 encrypted data. A string containing Track1 encrypted data expressed as hex characters. |
int |
track1Length
Get the swiped card length of Track1 data. |
java.lang.String |
track2
Get the swiped card Track2 encrypted data. A string containing Track2 encrypted data expressed as hex characters. |
int |
track2Length
Get the swiped card length of Track2 data. |
java.lang.String |
track3
Get the swiped card Track3 encrypted data. A string containing Track3 encrypted data expressed as hex characters. |
int |
track3Length
Get the swiped card length of Track3 data. |
Constructor Summary | |
---|---|
IDTMSRData()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public byte[] cardData
public byte[] encTrack1
public byte[] encTrack2
public byte[] encTrack3
public java.lang.String track1
public java.lang.String track2
public java.lang.String track3
public byte[] KSN
public int track1Length
public int track2Length
public int track3Length
public byte cardType
public byte captureEncodeType
public byte captureEncryptType
Constructor Detail |
---|
public IDTMSRData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |