Comments
are used to document the information. Comments in ASN.1 are represented by
using --.
EmployeeInformation {2 3 5 7 11} DEFINITIONS ::=
BEGIN
-- Employee type to store employee details
Employee ::= SEQUENCE{
firstName UTF8String,
lastName UTF8String,
age INTEGER,
address Address
}
-- Address type to store employee address
Address ::= SEQUENCE{
street UTF8String,
city UTF8String,
country UTF8String
}
END
As
you see above example, I documented the types Employee and Address.
No comments:
Post a Comment