> ReturnResult ::=  SEQUENCE {
>     invokeID    INTEGER (-128..127),
> 
>     result  SEQUENCE {
>         operationCode   CHOICE {
>             localValue INTEGER,
>             globalValue OBJECT IDENTIFIER
>         },
>         parameter  OCTET STRING (SIZE(1..255))
>     } OPTIONAL
> }
> 
>     I recieved the following byte stream as the encoding for 
> this structure.
>     0xa2 0x0d 0x02 0x01 0x00 0x30 0x06 0x02 0x01 0x0e 0x80 
> 0x01 0x04 0x00 0x00

According the definition given above, OCTET STRING(parameter) can not
take 0x80 as TAG instead it should 
Have been 0x04 as tag value. I see problem from 0x80 byte onwards!
Please send the complete dump and the exact 
ASN.1 descriptions also.


Regards,
Vasa 
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to