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.

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 ).

tibemsSSLParams_SetVerifyHostName enables checking the server’s actual host name against an expected server host name; see tibemsSSLParams_SetExpectedHostName .

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

TIBEMS_TRUE enables verification.

TIBEMS_FALSE disables verification.

See Also

tibemsSSLParams_SetHostNameVerifier

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