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


Chapter 17 IBM z/OS and IBM i : SSL Implementation on IBM EBCDIC Systems : tibemsSSLParams_System_SetExpectedHostName

tibemsSSLParams_System_SetExpectedHostName
Function
Purpose
Set the expected host name.
C Declaration
tibems_status tibemsSSLParams_System_SetExpectedHostName(
    tibemsSSLParams SSLParams,
    const char* expected_hostname );
COBOL Call
CALL "tibemsSSLParams_System_SetExpectedHostName"
     USING BY VALUE SSLParams,
           BY REFERENCE expected-hostname,
           RETURNING tibems-status
END-CALL.
 
SSLParams and expected_hostname have usage pointer.
Parameters
 
Remarks
This parameter applies when establishing an SSL connection to the EMS server. If host name verification is enabled, the EMS client compares the name specified in this call to the CN of the certificate presented by the server during the initial SSL handshake. If they are not the same, the connection fails.
This parameter is connection-specific and can be specified for each connection.
See Also
tibemsSSLParams_SetExpectedHostName on page 247

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