Is it allowed to encode (BER) a SET OF with length_byte=0 ?
So, for example:
300a80065678901234563100
Class =CLASS_UNIVERSAL Constructed Type =SEQUENCE,SEQUENCE_OF Length =10 { Class =CLASS_CONTEXT_SPECIFIC Type =NONE_0 Length =6 Val =0x567890123456 Translated =567890123456
Class =CLASS_UNIVERSAL Constructed Type =SET,SET_OF Length =0 }