OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Object Classes and Attribute Types
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
3-6
MH-C-ALGORITHM
Meanings of Attributes
The attribute types specify the following information:
MH-T-ALGORITHM-DATUM
Contains any data that might be required to use the algorithm. 
MH-T-ALGORITHM-ID
Identifies the algorithm generically. The values for this identifier can be agreed on by 
the sender and recipient, or they can refer to an international standard or other register of 
algorithms. 
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-DATUM, this value syntax is an alternative 
to OM-S-ENCODING-STRING.
When this attribute has the syntax OM-S-ONFILE-STRING, the GPI library stores 
the value in a file, and the value retains the characteristics of its primary syntax. 
For outbound messages, the client program should specify OM-S-ONFILE-STRING 
as the syntax of an attribute when the memory storage space might be insufficient to 
accommodate the value of the attribute. The client can specify this syntax for 
specific strings when the accumulated length of the strings might overflow the total 
string area specified in the max-table-data parameter of the GPI_INITIALIZE_ 
procedure call. 
For inbound messages, the Gateway Interface Process automatically specifies OM-
S-ONFILE-STRING for those strings that exceed the value in the max-table-data 
parameter of the GPI_INITIALIZE_ call or that exceed the maximum length 
specified in the max-in-memory-string-len parameter of the 
GPI_MT_START_TRANSFER_IN_ call.
Attributes that have the syntax of OM-S-ONFILE-STRING are treated as long 
strings, regardless of their actual length: that is, they are treated as if they were 
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. 










