This is our old Q&A Site. Please post any new questions and answers at

I tried to compile ASN.1 spec in asn1/ansi_map /ansi_map.asn in OSS ASN.1 studio but failed. The error indicates there're duplicated tags in several messages, for example:

AuthenticationFailureReport ::= [PRIVATE 18] SET 
    reportType  [44] IMPLICIT ReportType,
    reportType2 [44] IMPLICIT ReportType OPTIONAL,

It seems the tags here are used as unique type identifiers, but in my understanding, tag in a complex type (sequence,choice) should be used to mark the order of members. Can anyone suggest on how to make it fully compliant with ASN.1 standard syntax?

asked 08 Feb '14, 07:15

TB_BT's gravatar image

accept rate: 0%

The ansi_map.asn is hand crafted to make the Wireshark dissector. I'm not sure how useful it would be for any other purpose. The tags are listed in the order of apperance in the refered standard document.

permanent link

answered 09 Feb '14, 09:47

Anders's gravatar image

Anders ♦
accept rate: 17%

The implied info in your reply is enough for me, thanks.

(10 Feb '14, 20:47) TB_BT
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 08 Feb '14, 07:15

question was seen: 1,574 times

last updated: 10 Feb '14, 20:47

p​o​w​e​r​e​d by O​S​Q​A