METHOD-DATA : 0x30 LL 0x30 LL PA-DATA[1] 0x30 LL PA-DATA[1] ... 0x30 LL PA-DATA[1]
900901902903904905906907908909910
methodData.addPaData( new PaData( PaDataType.PA_ENCTYPE_INFO2, encTypeInfo2 ) ); try { ByteBuffer buffer = ByteBuffer.allocate( methodData.computeLength() ); return methodData.encode( buffer ).array(); } catch ( EncoderException ee ) { LOG_KRB.warn( "Failed to encode the etype information", ee ); return null;
135136137138139140141142143144145
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( methodData.computeLength() ); try { bb = methodData.encode( bb ); // Check the length assertEquals( 0x24, bb.limit() ); String encodedPdu = Strings.dumpBytes( bb.array() );
913914915916917918919920921922923
methodData.addPaData( new PaData( PaDataType.PA_ENCTYPE_INFO2, encTypeInfo2 ) ); try { ByteBuffer buffer = ByteBuffer.allocate( methodData.computeLength() ); return methodData.encode( buffer ).array(); } catch ( EncoderException ee ) { LOG.warn( "Failed to encode the etype information", ee ); return null;
134135136137138139140141142143144
831832833834835836837838839840841
methodData.addPaData( responsePaData ); try { ByteBuffer buffer = ByteBuffer.allocate( methodData.computeLength() ); return methodData.encode( buffer ).array(); } catch ( EncoderException ee ) { return null; }
111112113114115116117118119120121
// Check the encoding ByteBuffer bb = ByteBuffer.allocate( methodData.computeLength() ); try { bb = methodData.encode( bb ); // Check the length assertEquals( 0x24, bb.limit() ); String encodedPdu = Strings.dumpBytes(bb.array());
809810811812813814815816817818819
899900901902903904905906907908909