tibemsSSLParams_SetAuthOnly

Function

Purpose

Set client connections to use TLS only during initial connection authentication.

C Declaration

tibems_status tibemsSSLParams_SetAuthOnly(
    tibemsSSLParams SSLParams,
    tibems_bool auth_only );

IBM Systems

This function is not supported on z/OS and IBM i systems. For more information, see TLS Implementation on IBM EBCDIC Systems.

Parameters

Parameter Description
SSLParams Set the value in this TLS parameter object.
auth_only TIBEMS_TRUE instructs the TLS parameter object to request a connection that uses TLS only for authentication.

TIBEMS_FALSE instructs the TLS parameter object to request a connection that uses TLS to secure all data.

Remarks

If auth_only is TIBEMS_TRUE, connections use TLS only for authentication and switch to the TCP protocol for all subsequent messaging. If not, by default, TLS is used for the lifetime of a connection.

For background information, see TLS Authentication Only in TIBCO Enterprise Message Service User’s Guide.