apkfuckery/com.discord/smali_classes2/a0/v$b.smali

109 lines
2.4 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final La0/v$b;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "OkHttpClient.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-02-20 19:33:18 +00:00
value = La0/v;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# direct methods
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
2020-02-20 19:33:18 +00:00
"La0/k;",
2019-12-06 03:29:40 +00:00
">;"
}
.end annotation
2020-02-20 19:33:18 +00:00
sget-object v0, La0/v;->F:Ljava/util/List;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
.method public final a(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory;
.locals 3
:try_start_0
2020-02-20 19:33:18 +00:00
sget-object v0, La0/c0/g/f;->c:La0/c0/g/f$a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v0}, La0/c0/g/f$a;->b()La0/c0/g/f;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-02-20 19:33:18 +00:00
invoke-virtual {v0}, La0/c0/g/f;->a()Ljavax/net/ssl/SSLContext;
2019-12-06 03:29:40 +00:00
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Ljavax/net/ssl/TrustManager;
const/4 v2, 0x0
aput-object p1, v1, v2
const/4 p1, 0x0
invoke-virtual {v0, p1, v1, p1}, Ljavax/net/ssl/SSLContext;->init([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
invoke-virtual {v0}, Ljavax/net/ssl/SSLContext;->getSocketFactory()Ljavax/net/ssl/SSLSocketFactory;
move-result-object p1
const-string v0, "sslContext.socketFactory"
2020-02-20 19:33:18 +00:00
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
:try_end_0
.catch Ljava/security/GeneralSecurityException; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
move-exception p1
new-instance v0, Ljava/lang/AssertionError;
const-string v1, "No System TLS"
invoke-direct {v0, v1, p1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
.end method
.method public final b()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
2020-02-20 19:33:18 +00:00
"La0/w;",
2019-12-06 03:29:40 +00:00
">;"
}
.end annotation
2020-02-20 19:33:18 +00:00
sget-object v0, La0/v;->E:Ljava/util/List;
2019-12-06 03:29:40 +00:00
return-object v0
.end method