diff options
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Null.py')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/Null.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Null.py b/lib/asn1/test/asn1_SUITE_data/Null.py new file mode 100644 index 0000000000..23e5f38140 --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/Null.py @@ -0,0 +1,22 @@ +Null DEFINITIONS ::=
+BEGIN
+
+-- F.2.9 Null
+-- Use a null type to indicate the effective absence of a component
+-- of a sequence.
+-- EXAMPLE
+
+PatientIdentifier ::= SEQUENCE {
+ name VisibleString,
+ roomNumber CHOICE {
+ room INTEGER,
+ outPatient NULL -- if an out-patient --
+ }
+}
+
+lastPatient PatientIdentifier ::= {
+ name "Jane Doe",
+ roomNumber outPatient : NULL
+}
+
+END
|