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
136137138139140141142143144145146
// Check the encoding ByteBuffer encodedPdu = ByteBuffer.allocate( length ); try { encodedPdu = encApRepPart.encode( encodedPdu ); // Check the length assertEquals( 0x33, encodedPdu.limit() ); assertEquals( decodedPdu, Strings.dumpBytes( encodedPdu.array() ) ); }
424425426427428429430431432433434
// Check the encoding ByteBuffer encodedPdu = ByteBuffer.allocate( length ); try { encodedPdu = encApRepPart.encode( encodedPdu ); // Check the length assertEquals( 0x22, encodedPdu.limit() ); assertEquals( decodedPdu, Strings.dumpBytes( encodedPdu.array() ) ); }
522523524525526527528529530531532
// 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() ) ); }
603604605606607608609610611612613
// 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() ) ); }
135136137138139140141142143144145
423424425426427428429430431432433
521522523524525526527528529530531
602603604605606607608609610611612
103104105106107108109110111112113
// Check the encoding ByteBuffer encodedPdu = ByteBuffer.allocate( length ); try { encodedPdu = encApRepPart.encode( encodedPdu ); // Check the length assertEquals( 0x33, encodedPdu.limit() ); assertEquals( decodedPdu, Strings.dumpBytes(encodedPdu.array()) ); }
325326327328329330331332333334335
// Check the encoding ByteBuffer encodedPdu = ByteBuffer.allocate( length ); try { encodedPdu = encApRepPart.encode( encodedPdu ); // Check the length assertEquals( 0x22, encodedPdu.limit() ); assertEquals( decodedPdu, Strings.dumpBytes(encodedPdu.array()) ); }