With a connection-oriented context, the function's caller is responsible for formatting messages. The caller relies on the security package to authenticate connections and to ensure the integrity of specific parts of the message.
Most context options are available to connection-oriented contexts. These options include mutual authentication, replay detection, and sequence detection, as described in Context Requirements.
A security package sets the SECPKG_FLAG_CONNECTION flag to indicate that it supports connection-oriented semantics.