2020-09-18 16:51:32 +00:00
|
|
|
.class public final Lo0/x;
|
2020-07-23 01:06:17 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
.source "Handshake.kt"
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public final a:Lkotlin/Lazy;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
.field public final b:Lo0/g0;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
.field public final c:Lo0/k;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public final d:Ljava/util/List;
|
2020-09-02 04:07:20 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Ljava/security/cert/Certificate;",
|
2020-09-02 04:07:20 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
# direct methods
|
2020-09-18 16:51:32 +00:00
|
|
|
.method public constructor <init>(Lo0/g0;Lo0/k;Ljava/util/List;Lkotlin/jvm/functions/Function0;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-09-02 04:07:20 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-16 23:45:23 +00:00
|
|
|
"(",
|
2020-09-18 16:51:32 +00:00
|
|
|
"Lo0/g0;",
|
|
|
|
"Lo0/k;",
|
2020-09-02 04:07:20 +00:00
|
|
|
"Ljava/util/List<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"+",
|
|
|
|
"Ljava/security/cert/Certificate;",
|
|
|
|
">;",
|
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"+",
|
2020-09-02 04:07:20 +00:00
|
|
|
"Ljava/util/List<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"+",
|
|
|
|
"Ljava/security/cert/Certificate;",
|
|
|
|
">;>;)V"
|
2020-09-02 04:07:20 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "tlsVersion"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "cipherSuite"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {p2, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "localCertificates"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {p3, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "peerCertificatesFn"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {p4, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iput-object p1, p0, Lo0/x;->b:Lo0/g0;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iput-object p2, p0, Lo0/x;->c:Lo0/k;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iput-object p3, p0, Lo0/x;->d:Ljava/util/List;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
new-instance p1, Lo0/x$a;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-direct {p1, p4}, Lo0/x$a;-><init>(Lkotlin/jvm/functions/Function0;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p1}, Lf/h/a/f/e/n/f;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object p1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iput-object p1, p0, Lo0/x;->a:Lkotlin/Lazy;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
.method public static final a(Ljavax/net/ssl/SSLSession;)Lo0/x;
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$handshake"
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {p0, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p0}, Ljavax/net/ssl/SSLSession;->getCipherSuite()Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_7
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const v2, 0x3cc2e15a
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eq v1, v2, :cond_1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const v2, 0x480aabeb # 141999.67f
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eq v1, v2, :cond_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_0
|
|
|
|
const-string v1, "SSL_NULL_WITH_NULL_NULL"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-nez v1, :cond_6
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "TLS_NULL_WITH_NULL_NULL"
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-nez v1, :cond_6
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_0
|
2020-09-18 16:51:32 +00:00
|
|
|
sget-object v1, Lo0/k;->t:Lo0/k$b;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-virtual {v1, v0}, Lo0/k$b;->b(Ljava/lang/String;)Lo0/k;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p0}, Ljavax/net/ssl/SSLSession;->getProtocol()Ljava/lang/String;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_5
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v2, "NONE"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {v2, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-nez v2, :cond_4
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
sget-object v2, Lo0/g0;->j:Lo0/g0$a;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-virtual {v2, v1}, Lo0/g0$a;->a(Ljava/lang/String;)Lo0/g0;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:try_start_0
|
|
|
|
invoke-interface {p0}, Ljavax/net/ssl/SSLSession;->getPeerCertificates()[Ljava/security/cert/Certificate;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v2, :cond_2
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
array-length v3, v2
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v2, v3}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result-object v2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v2, [Ljava/security/cert/Certificate;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {v2}, Lo0/h0/c;->o([Ljava/lang/Object;)Ljava/util/List;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_2
|
2020-09-18 16:51:32 +00:00
|
|
|
sget-object v2, Lk0/i/l;->d:Lk0/i/l;
|
2020-09-02 04:07:20 +00:00
|
|
|
:try_end_0
|
2020-09-16 23:45:23 +00:00
|
|
|
.catch Ljavax/net/ssl/SSLPeerUnverifiedException; {:try_start_0 .. :try_end_0} :catch_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_1
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
:catch_0
|
2020-09-18 16:51:32 +00:00
|
|
|
sget-object v2, Lk0/i/l;->d:Lk0/i/l;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_1
|
2020-09-18 16:51:32 +00:00
|
|
|
new-instance v3, Lo0/x;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p0}, Ljavax/net/ssl/SSLSession;->getLocalCertificates()[Ljava/security/cert/Certificate;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object p0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p0, :cond_3
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
array-length v4, p0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0, v4}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object p0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast p0, [Ljava/security/cert/Certificate;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {p0}, Lo0/h0/c;->o([Ljava/lang/Object;)Ljava/util/List;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object p0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_3
|
2020-09-18 16:51:32 +00:00
|
|
|
sget-object p0, Lk0/i/l;->d:Lk0/i/l;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_2
|
2020-09-18 16:51:32 +00:00
|
|
|
new-instance v4, Lo0/w;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-direct {v4, v2}, Lo0/w;-><init>(Ljava/util/List;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-direct {v3, v1, v0, p0, v4}, Lo0/x;-><init>(Lo0/g0;Lo0/k;Ljava/util/List;Lkotlin/jvm/functions/Function0;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return-object v3
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_4
|
|
|
|
new-instance p0, Ljava/io/IOException;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "tlsVersion == NONE"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
throw p0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_5
|
|
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "tlsVersion == null"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
throw p0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_6
|
|
|
|
new-instance p0, Ljava/io/IOException;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "cipherSuite == "
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v1, v0}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
throw p0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_7
|
|
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "cipherSuite == null"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
throw p0
|
|
|
|
.end method
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public final b(Ljava/security/cert/Certificate;)Ljava/lang/String;
|
|
|
|
.locals 1
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
instance-of v0, p1, Ljava/security/cert/X509Certificate;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast p1, Ljava/security/cert/X509Certificate;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Ljava/security/cert/X509Certificate;->getSubjectDN()Ljava/security/Principal;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
move-result-object p1
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p1}, Ljava/security/cert/Certificate;->getType()Ljava/lang/String;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "type"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_0
|
|
|
|
return-object p1
|
2020-09-16 21:45:36 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public final c()Ljava/util/List;
|
2020-09-16 21:45:36 +00:00
|
|
|
.locals 1
|
2020-09-16 23:45:23 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/security/cert/Certificate;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v0, p0, Lo0/x;->a:Lkotlin/Lazy;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
instance-of v0, p1, Lo0/x;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
check-cast p1, Lo0/x;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v0, p1, Lo0/x;->b:Lo0/g0;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v1, p0, Lo0/x;->b:Lo0/g0;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-ne v0, v1, :cond_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v0, p1, Lo0/x;->c:Lo0/k;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v1, p0, Lo0/x;->c:Lo0/k;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-virtual {p1}, Lo0/x;->c()Ljava/util/List;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-virtual {p0}, Lo0/x;->c()Ljava/util/List;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object p1, p1, Lo0/x;->d:Ljava/util/List;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v0, p0, Lo0/x;->d:Ljava/util/List;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result p1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 p1, 0x1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 p1, 0x0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
return p1
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public hashCode()I
|
|
|
|
.locals 2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v0, p0, Lo0/x;->b:Lo0/g0;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->hashCode()I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
add-int/lit16 v0, v0, 0x20f
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v1, p0, Lo0/x;->c:Lo0/k;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
move-result v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
add-int/2addr v1, v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-virtual {p0}, Lo0/x;->c()Ljava/util/List;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
add-int/2addr v0, v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v1, p0, Lo0/x;->d:Ljava/util/List;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
add-int/2addr v1, v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return v1
|
|
|
|
.end method
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 5
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-virtual {p0}, Lo0/x;->c()Ljava/util/List;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/16 v2, 0xa
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0, v2}, Lf/h/a/f/e/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v3
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v1, v3}, Ljava/util/ArrayList;-><init>(I)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v3
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v3, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v3
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v3, Ljava/security/cert/Certificate;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-virtual {p0, v3}, Lo0/x;->b(Ljava/security/cert/Certificate;)Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v3
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v1, v3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "Handshake{"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v3, "tlsVersion="
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v1, v3}, Lf/e/b/a/a;->J(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v3, p0, Lo0/x;->b:Lo0/g0;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/16 v3, 0x20
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v4, "cipherSuite="
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v4, p0, Lo0/x;->c:Lo0/k;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v4, "peerCertificates="
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "localCertificates="
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
iget-object v0, p0, Lo0/x;->d:Ljava/util/List;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v3, Ljava/util/ArrayList;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0, v2}, Lf/h/a/f/e/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v2
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v3, v2}, Ljava/util/ArrayList;-><init>(I)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v2
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v2, :cond_1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v2, Ljava/security/cert/Certificate;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-18 16:51:32 +00:00
|
|
|
invoke-virtual {p0, v2}, Lo0/x;->b(Ljava/security/cert/Certificate;)Ljava/lang/String;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {v3, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/16 v0, 0x7d
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return-object v0
|
2020-07-23 01:06:17 +00:00
|
|
|
.end method
|