aboutsummaryrefslogtreecommitdiffstats
path: root/tests/119-per-strings-OK.asn1
blob: ae1ec46f9f3d3c8f898f238497444cdbf66fbb59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-- OK: Everything is fine

-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .119

ModulePERStrings
	{ iso org(3) dod(6) internet (1) private(4) enterprise(1)
		spelio(9363) software(1) asn1c(5) test(1) 119 }
	DEFINITIONS AUTOMATIC TAGS ::=
BEGIN

	PDU ::= SEQUENCE {
		many	SEQUENCE OF PDU			OPTIONAL,
		ia5	IA5String			OPTIONAL,
		ia5-c	IA5String (FROM("A".."Z"))	OPTIONAL,
		ia5-ce	IA5String (FROM("A".."Z",...))	OPTIONAL,
		ia5-ir	IA5String (FROM("A".."B"|"X".."Z")) OPTIONAL,
		vs	VisibleString			OPTIONAL,
		vs-c	VisibleString (FROM("A".."Z"))	OPTIONAL,
		vs-ce	VisibleString (FROM("A".."Z",...)) OPTIONAL,
		vs-ir	VisibleString (FROM("A".."B"|"X".."Z")) OPTIONAL,
		pr	PrintableString			OPTIONAL,
		pr-c	PrintableString (FROM("A".."Z")) OPTIONAL,
		pr-ir	PrintableString (FROM("A".."B"|"X".."Z")) OPTIONAL,
		ns	NumericString			OPTIONAL,
		ns-c	NumericString (FROM("5".."9"))	OPTIONAL,
		ns-ce	NumericString (FROM("5".."9",...)) OPTIONAL,
		ns-ir	NumericString (FROM("1"|"9")) OPTIONAL,
		ut-c	UTF8String (SIZE(6))		OPTIONAL,
		ut-ce	UTF8String (SIZE(6,...))	OPTIONAL,
		ut-ir	UTF8String (FROM("A"|"Z"))	OPTIONAL,
		bm	BMPString			OPTIONAL,
		bm-c	BMPString (FROM("A".."Z"))	OPTIONAL,
		bm-cs	BMPString (SIZE(6))	OPTIONAL,
		bm-ce	BMPString (FROM("A".."Z",...))	OPTIONAL,
		bm-ir	BMPString (FROM("A".."B"|"X".."Z"))	OPTIONAL,
		us	UniversalString			OPTIONAL,
		us-c	UniversalString (FROM("A".."Z"))	OPTIONAL,
		us-cs	UniversalString (SIZE(6))	OPTIONAL,
		us-ce	UniversalString (FROM("A".."Z",...))	OPTIONAL,
		us-ir	UniversalString (FROM("A".."B"|"X".."Z")) OPTIONAL,
		real	REAL				OPTIONAL,
		oid	OBJECT IDENTIFIER		OPTIONAL
	}

END