Click or drag to resize
GDStreamSocketDisablePeerVerification Method
This function disables certificate authenticity verification, when making an SSL/TLS connection. Authenticity verification is an SSL/TLS security option.

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

Return Value

Type: Boolean
True if the security option was successfully disabled. Otherwise False.
Remarks
Certificate Authenticity Verification When negotiating an SSL/TLS connection, the server sends a certificate indicating its identity. By default, the certificate must be verified as trustworthy, or the connection fails. In this context, trustworthiness derives from a chain of digital signatures, rooted in a certification authority. When authenticity verification is disabled, the connection succeeds regardless of the certificate's trustworthiness. When enabled, the BlackBerry Dynamics Runtime checks certificate trustworthiness using operating system services. This function must be called before connecting to remote host. Disabling authenticity verification implicitly disables host name verification.
See Also