Share via


SSLCertificateSocketFactory.SetTrustManagers(ITrustManager[]) Method

Definition

Sets the TrustManagers to be used for connections made by this factory.

[Android.Runtime.Register("setTrustManagers", "([Ljavax/net/ssl/TrustManager;)V", "GetSetTrustManagers_arrayLjavax_net_ssl_TrustManager_Handler")]
public virtual void SetTrustManagers (Javax.Net.Ssl.ITrustManager[]? trustManager);
[<Android.Runtime.Register("setTrustManagers", "([Ljavax/net/ssl/TrustManager;)V", "GetSetTrustManagers_arrayLjavax_net_ssl_TrustManager_Handler")>]
abstract member SetTrustManagers : Javax.Net.Ssl.ITrustManager[] -> unit
override this.SetTrustManagers : Javax.Net.Ssl.ITrustManager[] -> unit

Parameters

trustManager
ITrustManager[]
Attributes

Remarks

Sets the TrustManagers to be used for connections made by this factory.

Java documentation for android.net.SSLCertificateSocketFactory.setTrustManagers(javax.net.ssl.TrustManager[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to