X509TrustManagerExtensions

Class of android.net.http · X509TrustManagerExtensions.java · Android's reference

public class X509TrustManagerExtensions

Checks a server's chain with a trust manager, and gives the chain that it trusted.

Constructors

public X509TrustManagerExtensions(X509TrustManager tm) throws IllegalArgumentException source

Methods

public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType, String host) throws CertificateException source
public boolean isUserAddedCertificate(X509Certificate cert) source
public boolean isSameTrustConfiguration(String hostname1, String hostname2) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.