OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual

Information Architecture and Data Structures
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual522223-001
2-4
Syntax and Values
DDL constant names for all attribute types are given in Section 3, Object Classes and
Attribute Types.
Syntax and Values
Each syntax is represented by an integer. A syntax has a DDL constant name with the
prefix OM-S-. The GPI defines and recognizes the following syntaxes: Boolean,
enumeration, integer, object, and eleven types of strings. The syntax determines the
value as follows:
OM-S-BOOLEAN
Value is true or false.
OM-S-ENUMERATION
Value is any of a specified set of distinct values, such as MH-PTY-NORMAL and
MH-PTY-URGENT.
OM-S-INTEGER
Value is a positive or negative integer, or zero.
OM-S-OBJECT
Value is an object identifier of a specified class.
OM-S-BIT-STRING
Value is an ordered sequence of zero or more bits, accompanied by its length (in
number of octets). The first octet indicates the number of unused bits in the last
octet.
OM-S-ENCODING-STRING
Value is an ordered sequence of octets, which are those the basic encoding rules
permit. The string contains a complete BER encoding including an ASN.1 type and
length field.
OM-S-IA5-STRING
Value is an ordered sequence of zero or more characters (7-bit codes) chosen from
the International Alphabet No. 5 (IA5) and preceded by the string’s length in octets.
Each octet contains one code. The string conforms to the ASN.1 defined type: IA5
string.
OM-S-NUMERIC-STRING
Value is an ordered sequence of zero or more characters that collectively encode
numeric information in textual form, preceded by the strings length in octets. The
string conforms to the ASN.1 defined type: numeric string.
OM-S-OBJECT-DESCRIPTOR-STRING
Value is an ordered sequence of readable characters within the encoding of a value
of an ASN.1 object-descriptor type, accompanied by its length in octets.