tibemsSSLParams_System_SetEnableTLS1

Function

Purpose

Enable or disable the TLSV1 protocol.

C Declaration

tibems_status tibemsSSLParams_System_SetEnableTLS1(
    tibemsSSLParams params,
    tibems_bool TLS1enabled)

COBOL Call

CALL "tibemsSSLParams_System_SetEnableTLS1"
     USING BY VALUE params,
           BY VALUE TLS1enabled,
           RETURNING tibems_status
END-CALL.
Note: params has usage pointer.

Parameters

Parameter Description
params The SSL parameter object.
TLS1enabled Specify TIBEMS_TRUE or TIBEMS_FALSE to enable or disable the TLSV1 protocol.

This protocol is enabled by default.

Remarks

Enable or disable the TLSV1 protocol. This parameter is connection-specific and can be specified for each connection.

Returns TIBEMS_OK if it succeeds, otherwise TIBEMS_SSL_ERROR.