XploitSPY/app/factory/decompiled/smali/b/a/f/a$a.smali
2020-02-20 19:26:05 +05:30

140 lines
3.2 KiB
Smali

.class final Lb/a/f/a$a;
.super Lb/a/g/b;
.source ""
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/a/f/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
# instance fields
.field private final a:Ljava/lang/Object;
.field private final b:Ljava/lang/reflect/Method;
# direct methods
.method constructor <init>(Ljava/lang/Object;Ljava/lang/reflect/Method;)V
.locals 0
invoke-direct {p0}, Lb/a/g/b;-><init>()V
iput-object p1, p0, Lb/a/f/a$a;->a:Ljava/lang/Object;
iput-object p2, p0, Lb/a/f/a$a;->b:Ljava/lang/reflect/Method;
return-void
.end method
# virtual methods
.method public a(Ljava/util/List;Ljava/lang/String;)Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/security/cert/Certificate;",
">;",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Ljava/security/cert/Certificate;",
">;"
}
.end annotation
:try_start_0
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
new-array v0, v0, [Ljava/security/cert/X509Certificate;
invoke-interface {p1, v0}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
check-cast p1, [Ljava/security/cert/X509Certificate;
iget-object v0, p0, Lb/a/f/a$a;->b:Ljava/lang/reflect/Method;
iget-object v1, p0, Lb/a/f/a$a;->a:Ljava/lang/Object;
const/4 v2, 0x3
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
const-string v3, "RSA"
aput-object v3, v2, p1
const/4 p1, 0x2
aput-object p2, v2, p1
invoke-virtual {v0, v1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/util/List;
:try_end_0
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
move-exception p1
new-instance p2, Ljava/lang/AssertionError;
invoke-direct {p2, p1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw p2
:catch_1
move-exception p1
new-instance p2, Ljavax/net/ssl/SSLPeerUnverifiedException;
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-direct {p2, v0}, Ljavax/net/ssl/SSLPeerUnverifiedException;-><init>(Ljava/lang/String;)V
invoke-virtual {p2, p1}, Ljavax/net/ssl/SSLPeerUnverifiedException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
throw p2
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 0
instance-of p1, p1, Lb/a/f/a$a;
return p1
.end method
.method public hashCode()I
.locals 1
const/4 v0, 0x0
return v0
.end method