tibemsSSLParams_SetExpectedHostName
Function
Purpose
Set the expected host name.
C Declaration
tibems_status tibemsSSLParams_SetExpectedHostName( tibemsSSLParams SSLParams, const char* expected_hostname );
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. |
expected_hostname
|
Use this value. |
Remarks
This parameter applies when establishing a TLS connection to the EMS server. If host name verification is enabled, an application-specific verifier function checks that the actual host name where the server is running is the same as this expected host name.