3 -- snacced example, structured types module
5 -- $Header: /cvs/Darwin/Security/SecuritySNACCRuntime/tcl-example/edex1.asn1,v 1.1.1.1 2001/05/18 23:14:10 mb Exp $
6 -- $Log: edex1.asn1,v $
7 -- Revision 1.1.1.1 2001/05/18 23:14:10 mb
8 -- Move from private repository to open source repository
10 -- Revision 1.1.1.1 1999/03/16 18:06:55 aram
11 -- Originals from SMIME Free Library.
13 -- Revision 1.2 1997/02/28 13:39:56 wan
14 -- Modifications collected for new version 1.3: Bug fixes, tk4.2.
16 -- Revision 1.1 1997/01/01 22:57:13 rj
20 EdEx-Structured DEFINITIONS ::=
23 IMPORTS RainbowColor, DayOfTheWeek, Hand FROM EdEx-Simple;
34 cartesian [0] SEQUENCE { x REAL, y REAL },
35 polar [1] SEQUENCE { angle REAL, distance REAL }
40 name [0] PrintableString,
41 contents [1] OCTET STRING,
42 checksum [2] INTEGER OPTIONAL,
43 read-only [3] BOOLEAN DEFAULT FALSE
58 color [4] RainbowColor,
62 optstr [8] OCTET STRING OPTIONAL
68 color [1] CHOICE { rainbow RainbowColor, rgb RGBColor }
74 struct [1] Structured,
75 recursion [2] Various OPTIONAL