tibemsSSLParams_System_SetEnableTLS12

Function

Purpose

Enable or disable the TLSV1.2 protocol.

C Declaration

tibems_status tibemsSSLParams_System_SetEnableTLS12(
    tibemsSSLParams params,
    tibems_bool TLS12enabled);

COBOL Call

CALL "tibemsSSLParams_System_SetEnableTLS12"
     USING BY VALUE params,
           BY VALUE TLS12enabled,
           RETURNING tibems_status
END-CALL.
Note: SSLParams has a usage pointer.

Parameters

Parameter Description
SSLParams Set the value in this SSL parameter object.
TLS12enabled Specify TIBEMS_TRUE or TIBEMS_FALSE to enable or disable the SSLV1.2 protocol.

This protocol is enabled by default.

Remarks

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

Returns TIBEMS_OK if it succeeds, otherwise TIBEMS_SSL_ERROR.