960429-2 |
The text below is taken from the Internet standard RFC 822: CHAR = <any ASCII character> ; ( 0-177, 0.-127.) ALPHA = <any ASCII alphabetic character; (101-132, 65.- 90.) DIGIT = <any ASCII decimal digit> ; ( 60- 71, 48.- 57.) How can something similar be specified in ASN.1? |
Replies: |
Solution 1:CHAR ::= IA5String
(SIZE (1)) Other string types than VisibleString can also be used. Solution 2:CHAR ::= INTEGER (
0 .. 127) |