public class AesTrackData extends TrackData
AesTrackData
class represents the track data after swiping a
card from the reader using AES mode.BATTERY_STATUS_FULL, BATTERY_STATUS_LOW, mBatteryStatus, mTrack1ErrorCode, mTrack1Length, mTrack2ErrorCode, mTrack2Length, TRACK_ERROR_ES, TRACK_ERROR_LRC, TRACK_ERROR_PARITY, TRACK_ERROR_SS, TRACK_ERROR_SUCCESS
Constructor and Description |
---|
AesTrackData()
Creates an instance of
AesTrackData . |
AesTrackData(byte[] buffer)
Initializes the track data from the byte array.
|
AesTrackData(byte[] buffer,
int offset,
int byteCount)
Initializes the track data from the byte array.
|
Modifier and Type | Method and Description |
---|---|
void |
fromByteArray(byte[] buffer,
int offset,
int byteCount)
Initializes the track data from the byte array.
|
byte[] |
getTrackData()
Gets the track data.
|
fromByteArray, getBatteryStatus, getTrack1ErrorCode, getTrack1Length, getTrack2ErrorCode, getTrack2Length
public AesTrackData()
AesTrackData
.public AesTrackData(byte[] buffer)
buffer
- the buffer.public AesTrackData(byte[] buffer, int offset, int byteCount)
buffer
- the buffer.offset
- the offset.byteCount
- the number of bytes.public void fromByteArray(byte[] buffer, int offset, int byteCount)
TrackData
fromByteArray
in class TrackData
buffer
- the buffer.offset
- the offset.byteCount
- the number of bytes.public byte[] getTrackData()
Copyright © 2013-2018, Advanced Card Systems Ltd. All rights reserved.