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.

Parameter
Description
SSLParams
Set the value in this SSL parameter object.
expected_hostname
Use this value.

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

tibemsSSLParams_SetVerifyHost

tibemsSSLHostNameVerifier


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com