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


Chapter 7 Connection : tibemsSSLParams : tibemsSSLParams_SetVerifyHost

tibemsSSLParams_SetVerifyHost
Function
Purpose
Sets flags that enable client verification of the host certificate or host name.
C Declaration
tibems_status tibemsSSLParams_SetVerifyHost(
    tibemsSSLParams SSLParams,
    tibems_bool verify );
 
tibems_status tibemsSSLParams_SetVerifyHostName(
    tibemsSSLParams SSLParams,
    tibems_bool verify );
IBM Systems
These functions are not supported on z/OS and IBM i systems. For more information, see SSL Implementation on IBM EBCDIC Systems.
Parameters
 
TIBEMS_TRUE enables verification.
TIBEMS_FALSE disables verification.
Remarks
Both of verification actions are enabled by default (unless a program explicitly disables them).
tibemsSSLParams_SetVerifyHost enables checking that the server host’s certificate was signed by a trusted CA; see tibemsSSLParams_AddTrustedCert on page 240).
tibemsSSLParams_SetVerifyHostName enables checking the server’s actual host name against an expected server host name; see tibemsSSLParams_SetExpectedHostName on page 247.
See Also
tibemsSSLParams_SetHostNameVerifier on page 248
tibemsSSLHostNameVerifier on page 253

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