Javax.Net.Ssl.IX509TrustManager.CheckClientTrusted Method
Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.

Syntax

[Android.Runtime.Register("checkClientTrusted", "([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V", "GetCheckClientTrusted_arrayLjava_security_cert_X509Certificate_Ljava_lang_String_Handler:Javax.Net.Ssl.IX509TrustManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void CheckClientTrusted (Java.Security.Cert.X509Certificate[] chain, string authType)

Parameters

chain
the certificate chain to validate.
authType
the authentication type used.

Exceptions

TypeReason
Java.Security.Cert.CertificateExceptionif the certificate chain can't be validated or isn't trusted.
Java.Lang.IllegalArgumentExceptionif the specified certificate chain is empty or null, or if the specified authentication type is null or an empty string.

Remarks

Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.

[Android Documentation]

Requirements

Namespace: Javax.Net.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1