apkfuckery/com.discord/smali_classes2/okhttp3/u.smali

433 lines
10 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class public final Lokhttp3/u;
.super Ljava/lang/Object;
.source "Handshake.kt"
2019-07-24 11:27:29 +00:00
# annotations
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/MemberClasses;
2019-07-24 11:27:29 +00:00
value = {
2019-11-28 00:30:53 +00:00
Lokhttp3/u$a;
2019-07-24 11:27:29 +00:00
}
.end annotation
# static fields
2019-11-28 00:30:53 +00:00
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-11-20 22:09:14 +00:00
2019-12-04 22:43:03 +00:00
.field public static final cnY:Lokhttp3/u$a;
2019-11-20 22:09:14 +00:00
2019-08-01 02:26:13 +00:00
2019-11-28 00:30:53 +00:00
# instance fields
2019-12-04 22:43:03 +00:00
.field private final cnU:Lkotlin/Lazy;
2019-10-31 00:47:18 +00:00
2019-12-04 22:43:03 +00:00
.field public final cnV:Lokhttp3/ac;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.field public final cnW:Lokhttp3/i;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.field public final cnX:Ljava/util/List;
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/security/cert/Certificate;",
">;"
}
.end annotation
.end field
2019-07-24 11:27:29 +00:00
# direct methods
.method static constructor <clinit>()V
2019-11-28 00:30:53 +00:00
.locals 5
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/4 v0, 0x1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-array v0, v0, [Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-instance v1, Lkotlin/jvm/internal/x;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-class v2, Lokhttp3/u;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/y;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v3, "peerCertificates"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v4, "peerCertificates()Ljava/util/List;"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/x;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/y;->property1(Lkotlin/jvm/internal/w;)Lkotlin/reflect/d;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
aput-object v1, v0, v2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
sput-object v0, Lokhttp3/u;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-instance v0, Lokhttp3/u$a;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {v0, v2}, Lokhttp3/u$a;-><init>(B)V
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
sput-object v0, Lokhttp3/u;->cnY:Lokhttp3/u$a;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.method public constructor <init>(Lokhttp3/ac;Lokhttp3/i;Ljava/util/List;Lkotlin/jvm/functions/Function0;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokhttp3/ac;",
"Lokhttp3/i;",
"Ljava/util/List<",
"+",
"Ljava/security/cert/Certificate;",
">;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Ljava/util/List<",
"+",
"Ljava/security/cert/Certificate;",
">;>;)V"
}
.end annotation
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "tlsVersion"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "cipherSuite"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "localCertificates"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "peerCertificatesFn"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p4, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p1, p0, Lokhttp3/u;->cnV:Lokhttp3/ac;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p2, p0, Lokhttp3/u;->cnW:Lokhttp3/i;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p3, p0, Lokhttp3/u;->cnX:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p4}, Lkotlin/f;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p1, p0, Lokhttp3/u;->cnU:Lkotlin/Lazy;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.method private static b(Ljava/security/cert/Certificate;)Ljava/lang/String;
.locals 1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
instance-of v0, p0, Ljava/security/cert/X509Certificate;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast p0, Ljava/security/cert/X509Certificate;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {p0}, Ljava/security/cert/X509Certificate;->getSubjectDN()Ljava/security/Principal;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-object p0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_0
invoke-virtual {p0}, Ljava/security/cert/Certificate;->getType()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "type"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-object p0
2019-07-24 11:27:29 +00:00
.end method
2019-11-28 00:30:53 +00:00
# virtual methods
2019-12-04 22:43:03 +00:00
.method public final Qj()Ljava/util/List;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-11-28 00:30:53 +00:00
"()",
"Ljava/util/List<",
"Ljava/security/cert/Certificate;",
">;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/u;->cnU:Lkotlin/Lazy;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v0
check-cast v0, Ljava/util/List;
return-object v0
2019-07-24 11:27:29 +00:00
.end method
2019-11-28 00:30:53 +00:00
.method public final equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
.locals 2
2019-11-28 00:30:53 +00:00
instance-of v0, p1, Lokhttp3/u;
if-eqz v0, :cond_0
check-cast p1, Lokhttp3/u;
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/u;->cnV:Lokhttp3/ac;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/u;->cnV:Lokhttp3/ac;
2019-11-28 00:30:53 +00:00
if-ne v0, v1, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/u;->cnW:Lokhttp3/i;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/u;->cnW:Lokhttp3/i;
2019-11-28 00:30:53 +00:00
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
move-result v0
if-eqz v0, :cond_0
2019-12-04 22:43:03 +00:00
invoke-virtual {p1}, Lokhttp3/u;->Qj()Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
invoke-virtual {p0}, Lokhttp3/u;->Qj()Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
move-result v0
2019-11-28 00:30:53 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object p1, p1, Lokhttp3/u;->cnX:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/u;->cnX:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result p1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/4 p1, 0x1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return p1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_0
const/4 p1, 0x0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return p1
.end method
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.method public final hashCode()I
.locals 2
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/u;->cnV:Lokhttp3/ac;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0}, Lokhttp3/ac;->hashCode()I
2019-07-24 11:27:29 +00:00
move-result v0
2019-11-28 00:30:53 +00:00
add-int/lit16 v0, v0, 0x20f
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
mul-int/lit8 v0, v0, 0x1f
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/u;->cnW:Lokhttp3/i;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v1}, Lokhttp3/i;->hashCode()I
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
add-int/2addr v0, v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
mul-int/lit8 v0, v0, 0x1f
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
invoke-virtual {p0}, Lokhttp3/u;->Qj()Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
add-int/2addr v0, v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
mul-int/lit8 v0, v0, 0x1f
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/u;->cnX:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
add-int/2addr v0, v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return v0
.end method
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.method public final toString()Ljava/lang/String;
.locals 6
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-instance v0, Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v1, "Handshake{tlsVersion="
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/u;->cnV:Lokhttp3/ac;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/16 v1, 0x20
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v2, "cipherSuite="
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v2, p0, Lokhttp3/u;->cnW:Lokhttp3/i;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v2, "peerCertificates="
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
invoke-virtual {p0}, Lokhttp3/u;->Qj()Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast v2, Ljava/lang/Iterable;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-instance v3, Ljava/util/ArrayList;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/16 v4, 0xa
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {v2, v4}, Lkotlin/a/m;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
move-result v5
invoke-direct {v3, v5}, Ljava/util/ArrayList;-><init>(I)V
check-cast v3, Ljava/util/Collection;
invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v5
if-eqz v5, :cond_0
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/security/cert/Certificate;
invoke-static {v5}, Lokhttp3/u;->b(Ljava/security/cert/Certificate;)Ljava/lang/String;
move-result-object v5
invoke-interface {v3, v5}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_0
check-cast v3, Ljava/util/List;
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
const-string v1, "localCertificates="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/u;->cnX:Ljava/util/List;
2019-11-28 00:30:53 +00:00
check-cast v1, Ljava/lang/Iterable;
new-instance v2, Ljava/util/ArrayList;
invoke-static {v1, v4}, Lkotlin/a/m;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
move-result v3
invoke-direct {v2, v3}, Ljava/util/ArrayList;-><init>(I)V
check-cast v2, Ljava/util/Collection;
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_1
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/security/cert/Certificate;
invoke-static {v3}, Lokhttp3/u;->b(Ljava/security/cert/Certificate;)Ljava/lang/String;
move-result-object v3
invoke-interface {v2, v3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_1
:cond_1
check-cast v2, Ljava/util/List;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x7d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
2019-07-24 11:27:29 +00:00
return-object v0
.end method