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

Parameter
Description
connected_hostname
This parameter receives the actual host name of the server to which the client program is attempting to connect.
expected_hostname
This parameter receives the host name that the client expects the server to be running on.
certificate_name
This parameter receives the host name in the server’s public certificate.
closure
This parameter receives application-specific data.

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.

See Also

tibemsSSLParams_SetExpectedHostName

tibemsSSLParams_SetHostNameVerifier

tibemsSSLParams_SetVerifyHost


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com