107 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			107 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
.class public final Lokhttp3/internal/platform/android/AndroidCertificateChainCleaner$Companion;
 | 
						|
.super Ljava/lang/Object;
 | 
						|
.source "AndroidCertificateChainCleaner.kt"
 | 
						|
 | 
						|
 | 
						|
# annotations
 | 
						|
.annotation system Ldalvik/annotation/EnclosingClass;
 | 
						|
    value = Lokhttp3/internal/platform/android/AndroidCertificateChainCleaner;
 | 
						|
.end annotation
 | 
						|
 | 
						|
.annotation system Ldalvik/annotation/InnerClass;
 | 
						|
    accessFlags = 0x19
 | 
						|
    name = "Companion"
 | 
						|
.end annotation
 | 
						|
 | 
						|
.annotation runtime Lkotlin/Metadata;
 | 
						|
    bv = {
 | 
						|
        0x1,
 | 
						|
        0x0,
 | 
						|
        0x3
 | 
						|
    }
 | 
						|
    d1 = {
 | 
						|
        "\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0012\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0007\u00a8\u0006\u0007"
 | 
						|
    }
 | 
						|
    d2 = {
 | 
						|
        "Lokhttp3/internal/platform/android/AndroidCertificateChainCleaner$Companion;",
 | 
						|
        "",
 | 
						|
        "()V",
 | 
						|
        "buildIfSupported",
 | 
						|
        "Lokhttp3/internal/platform/android/AndroidCertificateChainCleaner;",
 | 
						|
        "trustManager",
 | 
						|
        "Ljavax/net/ssl/X509TrustManager;",
 | 
						|
        "okhttp"
 | 
						|
    }
 | 
						|
    k = 0x1
 | 
						|
    mv = {
 | 
						|
        0x1,
 | 
						|
        0x4,
 | 
						|
        0x0
 | 
						|
    }
 | 
						|
.end annotation
 | 
						|
 | 
						|
 | 
						|
# direct methods
 | 
						|
.method private constructor <init>()V
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/u;)V
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    .line 2
 | 
						|
    invoke-direct {p0}, Lokhttp3/internal/platform/android/AndroidCertificateChainCleaner$Companion;-><init>()V
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
 | 
						|
# virtual methods
 | 
						|
.method public final buildIfSupported(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/platform/android/AndroidCertificateChainCleaner;
 | 
						|
    .locals 2
 | 
						|
    .param p1    # Ljavax/net/ssl/X509TrustManager;
 | 
						|
        .annotation build Lorg/jetbrains/annotations/NotNull;
 | 
						|
        .end annotation
 | 
						|
    .end param
 | 
						|
    .annotation build Lokhttp3/internal/SuppressSignatureCheck;
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    .annotation build Lorg/jetbrains/annotations/Nullable;
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    const-string v0, "trustManager"
 | 
						|
 | 
						|
    invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
 | 
						|
 | 
						|
    const/4 v0, 0x0
 | 
						|
 | 
						|
    .line 1
 | 
						|
    :try_start_0
 | 
						|
    new-instance v1, Landroid/net/http/X509TrustManagerExtensions;
 | 
						|
 | 
						|
    invoke-direct {v1, p1}, Landroid/net/http/X509TrustManagerExtensions;-><init>(Ljavax/net/ssl/X509TrustManager;)V
 | 
						|
    :try_end_0
 | 
						|
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :catch_0
 | 
						|
    move-object v1, v0
 | 
						|
 | 
						|
    :goto_0
 | 
						|
    if-eqz v1, :cond_0
 | 
						|
 | 
						|
    .line 2
 | 
						|
    new-instance v0, Lokhttp3/internal/platform/android/AndroidCertificateChainCleaner;
 | 
						|
 | 
						|
    invoke-direct {v0, p1, v1}, Lokhttp3/internal/platform/android/AndroidCertificateChainCleaner;-><init>(Ljavax/net/ssl/X509TrustManager;Landroid/net/http/X509TrustManagerExtensions;)V
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    return-object v0
 | 
						|
.end method
 |