.class public abstract Lokhttp3/internal/tls/TrustRootIndex; .super Ljava/lang/Object; .source "TrustRootIndex.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lokhttp3/internal/tls/TrustRootIndex$BasicTrustRootIndex;, Lokhttp3/internal/tls/TrustRootIndex$AndroidTrustRootIndex; } .end annotation # direct methods .method public constructor ()V .locals 0 .line 30 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static a(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/tls/TrustRootIndex; .locals 6 .line 38 :try_start_0 invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v0 const-string v1, "findTrustAnchorByIssuerAndSignature" const/4 v2, 0x1 new-array v3, v2, [Ljava/lang/Class; const/4 v4, 0x0 const-class v5, Ljava/security/cert/X509Certificate; aput-object v5, v3, v4 invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; move-result-object v0 .line 40 invoke-virtual {v0, v2}, Ljava/lang/reflect/Method;->setAccessible(Z)V .line 41 new-instance v1, Lokhttp3/internal/tls/TrustRootIndex$AndroidTrustRootIndex; invoke-direct {v1, p0, v0}, Lokhttp3/internal/tls/TrustRootIndex$AndroidTrustRootIndex;->(Ljavax/net/ssl/X509TrustManager;Ljava/lang/reflect/Method;)V :try_end_0 .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0 return-object v1 .line 43 :catch_0 invoke-interface {p0}, Ljavax/net/ssl/X509TrustManager;->getAcceptedIssuers()[Ljava/security/cert/X509Certificate; move-result-object p0 invoke-static {p0}, Lokhttp3/internal/tls/TrustRootIndex;->a([Ljava/security/cert/X509Certificate;)Lokhttp3/internal/tls/TrustRootIndex; move-result-object p0 return-object p0 .end method .method public static varargs a([Ljava/security/cert/X509Certificate;)Lokhttp3/internal/tls/TrustRootIndex; .locals 1 .line 48 new-instance v0, Lokhttp3/internal/tls/TrustRootIndex$BasicTrustRootIndex; invoke-direct {v0, p0}, Lokhttp3/internal/tls/TrustRootIndex$BasicTrustRootIndex;->([Ljava/security/cert/X509Certificate;)V return-object v0 .end method # virtual methods .method public abstract a(Ljava/security/cert/X509Certificate;)Ljava/security/cert/X509Certificate; .end method