C# Class ModernHttpClient.HostnameVerifier

Inheritance: Java.Lang.Object, IHostnameVerifier
Datei anzeigen Open project: fpt-software/Wordpress-Client Class Usage Examples

Public Methods

Method Description
Verify ( string hostname, ISSLSession session ) : bool

Private Methods

Method Description
verifyClientCiphers ( string hostname, ISSLSession session ) : bool

Verifies client ciphers and is only available in Mono and Xamarin products.

verifyServerCertificate ( string hostname, ISSLSession session ) : bool

Verifies the server certificate by calling into ServicePointManager.ServerCertificateValidationCallback or, if the is no delegate attached to it by using the default hostname verifier.

Method Details

Verify() public method

public Verify ( string hostname, ISSLSession session ) : bool
hostname string
session ISSLSession
return bool