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


Chapter 7 Connection : tibemsSSLHostNameVerifier

tibemsSSLHostNameVerifier
Function Type
Purpose
Programs define functions of this type to check server identity based on the server’s host name.
C Declaration
typedef tibems_status (*tibemsSSLHostNameVerifier) (
    const char* connected_hostname,
    const char* expected_hostname,
    const char* certificate_name,
    void* closure );
IBM Systems
This function is not supported on z/OS and IBM i systems. For more information, see SSL Implementation on IBM EBCDIC Systems.
Parameters
 
Remarks
SSL attempts to verify that the EMS server hostname (taken from the server’s certificate identity) matches the hostname in the server URL. Your program can use the default matching behavior, or customize it in different ways.
TIBEMS_OK indicates a successful check.
TIBEMS_SECURITY_EXCEPTION indicates a failed check.
See Also
tibemsSSLParams_SetExpectedHostName on page 247
tibemsSSLParams_SetHostNameVerifier on page 248
tibemsSSLParams_SetVerifyHost on page 252

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