aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/Exporting.asn1
blob: e4f32f6788b29239b00e6d50d43599593b640cff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Exporting DEFINITIONS AUTOMATIC TAGS ::=
BEGIN

  Seq ::= SEQUENCE { id INTEGER, f BOOLEAN }
  PtSeq{T} ::= SEQUENCE { a T }

  CL ::= CLASS {
     &id INTEGER UNIQUE,
     &Type
  } WITH SYNTAX {
     ID &id TYPE &Type
  }

  obj CL ::= { ID 1 TYPE OCTET STRING }

  pt-object{CL:ob} CL ::= {ID ob.&id TYPE OCTET STRING}

END