Copyright © TIBCO Software Inc. All Rights Reserved

> 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 params,
> tibems_bool verify );
> COBOL Call
> CALL "tibemsSSLParams_SetVerifyHost"
> USING BY VALUE SSLParams,
> BY VALUE verify,
> RETURNING tibems-status
> END-CALL.
> CALL "tibemsSSLParams_SetVerifyHostName"
> USING BY VALUE SSLParams,
> BY VALUE verify,
> RETURNING tibems-status
> END-CALL.

> | SSLParams has usage pointer.

> Parameters

> Parameter | Description
> SSLParams | Set the value in this SSL parameter object.
> verify | 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 234).
> tibemsSSLParams_SetVerifyHostName enables checking the server’s actual host name against an expected server host name; see tibemsSSLParams_SetExpectedHostName on page 242.
> See Also
> tibemsSSLParams_SetHostNameVerifier on page 243
> tibemsSSLHostNameVerifier on page 250

Copyright © TIBCO Software Inc. All Rights Reserved