Click or drag to resize
GDStreamSocketDisableHostVerification Method
This function disables host name verification, when making an SSL/TLS connection. Host name verification is an SSL/TLS security option.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public bool DisableHostVerification()

Return Value

Type: Boolean
True if the security option was successfully disabled. Otherwise False.
Remarks
Host Name Verification When negotiating an SSL/TLS connection, the server sends a certificate indicating its identity. The certificate includes a number of host names. By default, one of the host names in the certificate must match the host name in the URL being opened, or the connection fails. When host name verification is disabled, the connection succeeds regardless of whether there is a matching host name in the certificate. When enabled, the BlackBerry Dynamics Runtime checks server identity in a way that conforms with the relevant RFC. See under section 3.1 Server Identity, in RFC 2818. This function must be called before connecting to remote host. Disabling host name verification does not disable authenticity verification, DisablePeerVerification.
See Also