Example usage for Java javax.smartcardio ResponseAPDU fields, constructors, methods, implement or subclass
The text is from its open source code.
ResponseAPDU(byte[] apdu) Constructs a ResponseAPDU from a byte array containing the complete APDU contents (conditional body and trailed). |
byte[] | getBytes() Returns a copy of the bytes in this APDU. |
byte[] | getData() Returns a copy of the data bytes in the response body. |
int | getNr() Returns the number of data bytes in the response body (Nr) or 0 if this APDU has no body. |
int | getSW() Returns the value of the status bytes SW1 and SW2 as a single status word SW. |
int | getSW1() Returns the value of the status byte SW1 as a value between 0 and 255. |
int | getSW2() Returns the value of the status byte SW2 as a value between 0 and 255. |