CardResponseAPDU extends CardAPDU { public byte[] getTrailer() { return trailer; } CardResponseAPDU();  CardResponseAPDU(byte[] responseAPDU);  CardResponseAPDU(byte[] data, byte[] trailer);  CardResponseAPDU(TransmitResponse transmitResponse); static byte[] getData(byte[] responseAPDU); void setTrailer(byte[] trailer); byte[] getTrailer(); static byte[] getTrailer(byte[] responseAPDU); byte getSW1(); byte getSW2(); short getSW(); byte[] getStatusBytes(); String getStatusMessage(); boolean isNormalProcessed(); boolean isWarningProcessed(); boolean isExecutionError(); boolean isCheckingError(); boolean isPositiveResponse(List<byte[]> responses); byte[] toByteArray(); String toHexString(); @Override String toString();  }
@Test public void testGetTrailer() { byte[] apdu = new byte[]{(byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04, (byte) 0x90, (byte) 0x00}; assertEquals(CardResponseAPDU.getTrailer(apdu), new byte[]{(byte) 0x90, (byte) 0x00}); }