Oracle Solaris Security for Developers Guide

Wrap Size Limits and QOP Values

The Sun implementation of the GSS-API, as opposed to any underlying mechanism, does not impose a maximum size for messages to be processed by gss_wrap(). Applications can determine the maximum message size with gss_wrap_size_limit().

The Sun implementation of the GSS-API detects invalid QOP values when gss_wrap_size_limit() is called.