Android.Net.Http.X509TrustManagerExtensions.CheckServerTrusted Method
Verifies the given certificate chain.

Syntax

[Android.Runtime.Register("checkServerTrusted", "([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;", "GetCheckServerTrusted_arrayLjava_security_cert_X509Certificate_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual IList<Java.Security.Cert.X509Certificate> CheckServerTrusted (Java.Security.Cert.X509Certificate[] chain, string authType, string host)

Parameters

chain
Documentation for this section has not yet been entered.
authType
Documentation for this section has not yet been entered.
host
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.Cert.CertificateExceptionif the chain does not verify correctly.

Remarks

Verifies the given certificate chain.

See Javax.Net.Ssl.IX509TrustManager.CheckServerTrusted(Java.Security.Cert.X509Certificate[], System.String) for a description of the chain and authType parameters. The final parameter, host, should be the hostname of the server.

[Android Documentation]

Requirements

Namespace: Android.Net.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17