Network Management & Security: Lecture-5
Network Management & Security: Lecture-5
Security
Lecture-5
Today’s topics
o Abstract Syntax Notation One (ASN.1)
o SNMP Management Information Base
Abstract Data types
o ASN.1 is a notation for data types and their
values. We can classify types into four categories
1.Simple: These are atomic types, with no
components
2.Structured: A structured type has components
3.Tagged: These are types derived from other
types
4.Other: This category includes CHOICE and ANY
types
Abstract Data types
o Every ASN.1 data type, with the exception of
CHOICE and ANY has an associated tag . The tag
consists of a class name and a non-negative
integer tag number
o There are four classes of data types and four
classes of tags
o UNIVERSAL
o APPLICATION
o Context-specific
o Private
Examples
[ APPLICATION 0], APPLICATION is the class and
0 is the tag number
[UNIVERSAL 4], UNIVERSAL is the class and 4 is
the tag number
UNIVERSAL CLASS TAG
ASSIGNMENTS
Basic Types Object Types
UNIVERSAL 1 BOOLEAN UNIVERSAL 6 OBJECT IDENTIFIER
UNIVERSAL 2 INTEGER UNIVERSAL 7 Object descriptor
UNIVERSAL 3 BIT STRING
UNIVERSAL 4 OCTET STRING
UNIVERSAL 9 REAL
UNIVERSAL 10 ENUMERATED
UNIVERSAL CLASS TAG
ASSIGNMENTS
Character String Types Miscellenous Types
UNIVERSAL 18 NumericString UNIVERSAL 5 NULL
UNIVERSAL 19 PrintableString UNIVERSAL 8 EXTERNAL
UNIVERSAL 20 TeletexString UNIVERSAL 23 UTCTime
UNIVERSAL 21 VideotexString UNIVERSAL 24 GeneralizedTime
UNIVERSAL 22 IA5String UNIVERSAL 11-15 Reserved
UNIVERSAL 25 GraphicString UNIVERSAL 28 Reserved
UNIVERSAL 26 VisibleString
UNIVERSAL 27 GeneralString
UNIVERSAL CLASS TAG
ASSIGNMENTS
Structured Types