tibemsSSLParams_SetHostNameVerifier

Function

Purpose

Set the host name verifier function.

C Declaration

tibems_status tibemsSSLParams_SetHostNameVerifier(
    tibemsSSLParams SSLParams,
    tibemsSSLHostNameVerifier verifier,
    const void* closure );

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.
verifier Use this verifier function.
closure Supply application-specific data. Each call to the verifier function passes this data as an argument.

Remarks

When creating a connection to the EMS server, an application-specific verifier function checks that the actual host name where the server is running is the same as this expected host name.