EncApRepPart : 0x7B LL 0x30 LL 0xA0 0x11 0x18 0x0F ttt ctime 0xA1 LL 0x02 LL NN cusec [0xA2 LL 0x30 LL abcd] subkey [0xA3 LL 0x02 LL NN] seq-number
394395396397398399400401402403404
// Check the encoding ByteBuffer encodedPdu = ByteBuffer.allocate( length ); try { encodedPdu = encApRepPart.encode( encodedPdu ); // Check the length assertEquals( 0x2D, encodedPdu.limit() ); assertEquals( decodedPdu, Strings.dumpBytes(encodedPdu.array()) ); }
457458459460461462463464465466467
// Check the encoding ByteBuffer encodedPdu = ByteBuffer.allocate( length ); try { encodedPdu = encApRepPart.encode( encodedPdu ); // Check the length assertEquals( 0x1C, encodedPdu.limit() ); assertEquals( decodedPdu, Strings.dumpBytes(encodedPdu.array()) ); }