OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual

Object Classes and Attribute Types
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
3-5
Message Handling Classes
longer than the specification of the max-string-len parameter of GPI_INITIALIZE_.
Thus, you can use only the procedure calls GPI_OM_READ_ and GPI_OM-
WRITE_ to read and write the values of strings that have the syntax OM-S-
ONFILE-STRING.
Message Handling Classes
This subsection describes objects and attributes of the message handling package. For an
overview of how each class relates to other classes, see Appendix D, Class Hierarchies.
MH-C-ALGORITHM
This class of object identifies a mathematical (usually cryptographic) algorithm. This
object typically identifies an algorithm that was used to encrypt message content and
will be used to decrypt that content.
Table 3-2
describes the attribute types for this class and the syntax, length, and number
of values for each type.
Some attribute types have additional value characteristics, as shown in Table 3-3
.
Table 3-2. MH-C-ALGORITHM Attributes—General Characteristics
Attribute Type Value Syntax
Value
Length
Number of
Values
MH-T-ALGORITHM-DATUM OM-S-ENCODING-STRING
or
OM-S-ONFILE-STRING
2-n 0-1
MH-T-ALGORITHM-ID OM-S-OBJECT-ID-STRING 2-n 1
OM-T-CLASS OM-S-OBJECT-ID-STRING 7 1
Table 3-3. MH-C-ALGORITHM Attributes—Additional Characteristics
Attribute Type Value Characteristics
OM-T-CLASS Max. Value Length: ZGPI-EDI-CLASS-OBJ-ID-LEN