OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Object Classes and Attribute Types
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
3-7
MH-C-ALGORITHM-AND-RESULT
MH-C-ALGORITHM-AND-RESULT
This class of object identifies a mathematical (usually cryptographic) algorithm and the 
result obtained from using this algorithm to decrypt a particular message. 
Table 3-4
 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-5
.
Meanings of Attributes
The attribute types specify the following information:
MH-T-ALGORITHM
Identifies the mathematical algorithm used to encrypt the message.
MH-T-ALGORITHM-RESULT
Identifies the result of executing the algorithm on a particular occasion. 
Implementation and Usage Note
•
OM-S-ONFILE-STRING is a value syntax that applies to messages exceeding 64 
kilobytes.
For the attribute MH-T-ALGORITHM-AND-RESULT, this syntax value is an 
alternative to OM-S-BIT-STRING.
Table 3-4. MH-C-ALGORITHM-AND-RESULT Attributes—General 
Characteristics
Attribute Type Value Syntax
Value 
Length
Number of
Values
MH-T-ALGORITHM OM-S-OBJECT
(MH-C-ALGORITHM)
- - 1
MH-T-ALGORITHM-RESULT OM-S-BIT-STRING
or
OM-S-ONFILE-STRING
1-n 1
OM-T-CLASS OM-S-OBJECT-ID-STRING 7 1
Table 3-5. MH-C-ALGORITHM-AND-RESULT Attributes—Additional 
Characteristics
Attribute Type Value Characteristics
OM-T-CLASS Max. Value Length: ZGPI-EDI-CLASS-OBJ-ID-LEN










