add checkServerTrusted(X509Certificate[], String, String, String) method

This commit is contained in:
apesnyak
2019-01-11 12:59:09 +07:00
parent 08e196d5be
commit 87e0ca5a77

View File

@@ -534,6 +534,11 @@ public class Main implements IXposedHookLoadPackage {
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
}
public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType, String host) throws CertificateException {
ArrayList<X509Certificate> list = new ArrayList<X509Certificate>();
return list;
}
@Override
public X509Certificate[] getAcceptedIssuers() {
return new X509Certificate[0];