FANDOM


Background: Know: Recognize:

Up
Previous Next
Down


ASN.1 Naming ConventionsEdit

The definition of ASN.1 is pointed out in

ASN.1;

The reasons for using ASN.1 are pointed out in WhyASN.1? Outsider's view and xx8T WhyASN.1? Insider's view;

The rules of comments, assignment operator and defining blocks are pointed out in ASN.1 Foundations;

The types of type are pointed out in Types of types, and, more specific details are pointed out in Simple types for IETF NM, Subtypes, Defined types, more Defined types and Sequences.

ASN.1 Naming ConventionsEdit

They are character strings drawn from the set of characters:

upper-case letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ

lower-case letters: abcdefghijklmnopqrstuvwxyz

decimal digits: 0123456789

hyphen: -

Note that the first character in an identifier must be a letter and the last character cannot be hyphen. The case of the letters is significant, so that "borders" and "Borders" are different identifiers. In fact the case of the letter is of special significance, as primitive types and macros must be all upper-case letters, type references and modules must start with an upper-case letter, while value references must start with a lower-case letter. <p style="text-align: left; MARGIN: 0cm 0cm 10pt">For example:

ALL UPPER-CASE for :

  • primitive types, e.g. INTEGER, NULL, BOOLEAN
  • MIB modules, e.g. IP-MIB, TCP-MIB, UDP-MIB
  • macros, e.g. MODULE-COMPLIANCE, AGENT-CAPABILITIES, NOTIFICATION-GROUP

INITIAL UPPER-CASE for :

  • application-defined types and modules, e.g. InetAddress, Integer32, IpAddress, TimeTicks, Opaque and Counter64

INITIAL LOWER-CASE for :

  • object name, e.g. ipv6RouterAdvertRowStatus, tcpConnectionEntry, ipRouteMask, ipNetToMediaNetAddress

reference:

Clemm: Network Management Fundamentals, Cisco Press, 2006, P171-200.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.