}
// Now, let's decode the ETYPE-INFO-ENTRY
Asn1Decoder etypeInfoEntryDecoder = new Asn1Decoder();
ETypeInfoEntryContainer etypeInfoEntryContainer = new ETypeInfoEntryContainer();
etypeInfoEntryContainer.setStream( eTypeInfoContainer.getStream() );
// Compute the start position in the stream for the ETypeInfoEntry to decode :
// We have to move back to the ETypeInfoEntry tag
eTypeInfoContainer.rewind();
// Decode the ETypeInfoEntry PDU
try
{
etypeInfoEntryDecoder.decode( eTypeInfoContainer.getStream(), etypeInfoEntryContainer );
}
catch ( DecoderException de )
{
throw de;
}
// Update the expected length for the current TLV
tlv.setExpectedLength( tlv.getExpectedLength() - tlv.getLength() );
// Update the parent
eTypeInfoContainer.updateParent();
// Store the ETypeInfoEntry in the container
ETypeInfoEntry etypeInfoEntry = etypeInfoEntryContainer.getETypeInfoEntry();
eTypeInfoContainer.addEtypeInfoEntry( etypeInfoEntry );
if ( IS_DEBUG )
{
LOG.debug( "ETYPE-INFO-ENTRY added : {}", etypeInfoEntry );