7ba2da4f0b3b6ceea08bf65af05cd48170cd4e73
[com/asn1c.git] / skeletons / standard-modules / ASN1C-UsefulInformationObjectClasses.asn1
1 /*
2  * This specification contains pervasive ASN.1 information object classes.
3  * These classes are defined as "useful", and are available in any module
4  * without the necessity for explicit import.
5  */
6 ASN1C-UsefulInformationObjectClasses
7         { iso(1) org(3) dod(6) internet (1) private(4) enterprise(1)
8                 spelio(9363) software(1) asn1c(5)
9                 standard-modules(3) auto-imported(0) 1 }
10 DEFINITIONS ::= BEGIN
11
12         /*
13          * X.681-0207, Annex A
14          * The TYPE-IDENTIFIER information object class
15          */
16         TYPE-IDENTIFIER ::= CLASS {
17             &id         OBJECT IDENTIFIER UNIQUE,
18             &Type
19         } WITH SYNTAX { &Type IDENTIFIED BY &id }
20
21         /*
22          * X.681-0207, Annex B
23          * The ABSTRACT-SYNTAX information object class
24          */
25         ABSTRACT-SYNTAX ::= CLASS {
26             &id         OBJECT IDENTIFIER UNIQUE,
27             &Type,
28             &property   BIT STRING { handles-invalid-encodings(0) } DEFAULT {}
29         } WITH SYNTAX { &Type IDENTIFIED BY &id [HAS PROPERTY &property] }
30
31 END