The OM_syntax data type is used to identify a syntax type. Its C declaration is as follows:
typedef OM_uint16 OM_syntax;
A data value of this data type is an integer in the range 0 to 2-to-the-9th-power that indicates an individual syntax or a set of syntaxes taken together.
The data value is chosen from among the following:
· OM_S_BIT_STRING
· OM_S_BOOLEAN
· OM_S_ENCODING_STRING
· OM_S_ENUMERATION
· OM_S_GENERAL_STRING
· OM_S_GENERALISED_TIME_STRING
· OM_S_GRAPHIC_STRING
· OM_S_IA5_STRING
· OM_S_INTEGER
· OM_S_NULL
· OM_S_NUMERIC_STRING
· OM_S_OBJECT
· OM_S_OBJECT_DESCRIPTOR_STRING
· OM_S_OBJECT_IDENTIFIER_STRING
· OM_S_OCTET_STRING
· OM_S_PRINTABLE_STRING
· OM_S_TELETEX_STRING
· OM_S_VIDEOTEX_STRING
· OM_S_VISIBLE_STRING
· OM_S_UTC_TIME_STRING
Integers in the narrower range 0 to 2-to-the-9th-power are used to indicate the syntaxes they define. The integers in the range 2-to-the-9th-power to 2-to-the-10th-power are reserved for vendor extensions. Wherever possible, the integers used are the same as the corresponding ASN.1 universal class number.