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

109 lines
2.4 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Lx/v$b;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "OkHttpClient.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-12-21 01:41:59 +00:00
value = Lx/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<",
2019-12-21 01:41:59 +00:00
"Lx/k;",
2019-12-06 03:29:40 +00:00
">;"
}
.end annotation
2019-12-21 01:41:59 +00:00
sget-object v0, Lx/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
2019-12-21 01:41:59 +00:00
sget-object v0, Lx/c0/g/f;->c:Lx/c0/g/f$a;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {v0}, Lx/c0/g/f$a;->b()Lx/c0/g/f;
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-12-21 01:41:59 +00:00
invoke-virtual {v0}, Lx/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"
2019-12-21 01:41:59 +00:00
invoke-static {p1, v0}, Lt/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<",
2019-12-21 01:41:59 +00:00
"Lx/w;",
2019-12-06 03:29:40 +00:00
">;"
}
.end annotation
2019-12-21 01:41:59 +00:00
sget-object v0, Lx/v;->E:Ljava/util/List;
2019-12-06 03:29:40 +00:00
return-object v0
.end method