Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 Connection : tibemsSSLParams : tibemsSSLParams_SetExpectedHostName

tibemsSSLParams_SetExpectedHostName
Function
Purpose
Set the expected host name.
C Declaration
tibems_status tibemsSSLParams_SetExpectedHostName(
    tibemsSSLParams SSLParams,
    const char* expected_hostname );
COBOL Call
CALL "tibemsSSLParams_SetExpectedHostName"
     USING BY VALUE SSLParams,
           BY REFERENCE expected-hostname,
           RETURNING tibems-status
END-CALL.
 
SSLParams has usage pointer.
Parameters
 
Remarks
This parameter applies when establishing an SSL 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.
See Also
tibemsSSLParams_SetHostNameVerifier on page 243
tibemsSSLParams_SetVerifyHost on page 248
tibemsSSLHostNameVerifier on page 250

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved