Class APDUWrapper
java.lang.Object
com.jelurida.ardor.integration.wallet.ledger.APDUWrapper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserializePacket(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)
-
Constructor Details
-
APDUWrapper
public APDUWrapper()
-
-
Method Details
-
wrapCommandAPDU
public static byte[] wrapCommandAPDU(int channel, byte[] command, boolean ble) -
deserializePacket
public static APDUWrapper.DeserializedPacket deserializePacket(int channel, byte[] buffer, int sequenceIdx, boolean ble) throws APDUWrapper.DeserializationException -
unwrapResponseAPDU
public static byte[] unwrapResponseAPDU(int channel, byte[] data, boolean ble) throws APDUWrapper.DeserializationException
-