2020-09-02 04:07:20 +00:00
|
|
|
.class public final Lo0/i;
|
2020-09-16 21:45:36 +00:00
|
|
|
.super Lk0/n/c/i;
|
2020-09-02 04:07:20 +00:00
|
|
|
.source "CertificatePinner.kt"
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-09-02 04:07:20 +00:00
|
|
|
.implements Lkotlin/jvm/functions/Function0;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-16 21:45:36 +00:00
|
|
|
"Lk0/n/c/i;",
|
2020-09-02 04:07:20 +00:00
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+",
|
|
|
|
"Ljava/security/cert/X509Certificate;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $hostname:Ljava/lang/String;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
.field public final synthetic $peerCertificates:Ljava/util/List;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
.field public final synthetic this$0:Lo0/h;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lo0/h;Ljava/util/List;Ljava/lang/String;)V
|
|
|
|
.locals 0
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-object p1, p0, Lo0/i;->this$0:Lo0/h;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lo0/i;->$peerCertificates:Ljava/util/List;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-object p3, p0, Lo0/i;->$hostname:Ljava/lang/String;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
invoke-direct {p0, p1}, Lk0/n/c/i;-><init>(I)V
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
return-void
|
2020-07-23 01:06:17 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-09-02 04:07:20 +00:00
|
|
|
.method public invoke()Ljava/lang/Object;
|
|
|
|
.locals 3
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v0, p0, Lo0/i;->this$0:Lo0/h;
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
iget-object v0, v0, Lo0/h;->b:Lo0/g0/j/c;
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v1, p0, Lo0/i;->$peerCertificates:Ljava/util/List;
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v2, p0, Lo0/i;->$hostname:Ljava/lang/String;
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
invoke-virtual {v0, v1, v2}, Lo0/g0/j/c;->a(Ljava/util/List;Ljava/lang/String;)Ljava/util/List;
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
move-result-object v0
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
goto :goto_0
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lo0/i;->$peerCertificates:Ljava/util/List;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
:goto_0
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const/16 v2, 0xa
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
invoke-static {v0, v2}, Lf/n/a/k/a;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
move-result v2
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
:goto_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
move-result v2
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
if-eqz v2, :cond_2
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
move-result-object v2
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
check-cast v2, Ljava/security/cert/Certificate;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
if-eqz v2, :cond_1
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
check-cast v2, Ljava/security/cert/X509Certificate;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
goto :goto_1
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
:cond_1
|
|
|
|
new-instance v0, Lkotlin/TypeCastException;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v1, "null cannot be cast to non-null type java.security.cert.X509Certificate"
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
throw v0
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
:cond_2
|
|
|
|
return-object v1
|
2020-07-23 01:06:17 +00:00
|
|
|
.end method
|