Function
Sets flags that enable client verification of the host certificate or host name.
tibems_status
tibemsSSLParams_SetVerifyHost(tibemsSSLParams
SSLParams
,tibems_bool
verify );tibems_status
tibemsSSLParams_SetVerifyHostName(tibemsSSLParams
params,tibems_bool
verify );
CALL "tibemsSSLParams_SetVerifyHost" USING BY VALUESSLParams
, BY VALUE verify, RETURNING tibems-status END-CALL. CALL "tibemsSSLParams_SetVerifyHostName" USING BY VALUESSLParams
, BY VALUE verify, RETURNING tibems-status END-CALL.
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
|
|
tibemsSSLParams_SetHostNameVerifier
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |