public class APDUWrapper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
APDUWrapper.DeserializationException |
static class |
APDUWrapper.DeserializedPacket |
static class |
APDUWrapper.SerializedPacket |
Constructor and Description |
---|
APDUWrapper() |
Modifier and Type | Method and Description |
---|---|
static APDUWrapper.DeserializedPacket |
deserializePacket(int channel,
byte[] buffer,
int sequenceIdx,
boolean ble) |
static byte[] |
unwrapResponseAPDU(int channel,
byte[] data,
boolean ble) |
static byte[] |
wrapCommandAPDU(int channel,
byte[] command,
boolean ble) |
public static byte[] wrapCommandAPDU(int channel, byte[] command, boolean ble)
public static APDUWrapper.DeserializedPacket deserializePacket(int channel, byte[] buffer, int sequenceIdx, boolean ble) throws APDUWrapper.DeserializationException
public static byte[] unwrapResponseAPDU(int channel, byte[] data, boolean ble) throws APDUWrapper.DeserializationException