/** * Dump the current TLV tree * * @param container The container */ private void dumpTLVTree( IAsn1Container container ) { StringBuffer sb = new StringBuffer(); TLV current = container.getCurrentTLV(); sb.append( "TLV" ).append( Asn1StringUtils.dumpByte( current.getTag() ) ).append( "(" ) .append( current.getExpectedLength() ).append( ")" ); current = current.getParent(); while ( current != null ) { sb.append( "-TLV" ).append( Asn1StringUtils.dumpByte( current.getTag() ) ).append( "(" ) .append( current.getExpectedLength() ).append( ")" ); current = current.getParent(); } if ( IS_DEBUG ) { LOG.debug( "TLV Tree : {}", sb.toString() ); } }
byte tag = container.getCurrentTLV().getTag(); LOG.debug( "Tag {} has been decoded", Asn1StringUtils.dumpByte( tag ) );
if ( TLV.isConstructed( currentTlv.getTag() ) )
byte tagByte = container.getCurrentTLV().getTag();