XploitSPY/app/factory/decompiled/smali/c/k.smali

333 lines
6.2 KiB
Smali
Raw Normal View History

2020-03-24 03:54:23 +08:00
.class public final enum Lc/K;
.super Ljava/lang/Enum;
2020-01-11 23:35:37 +08:00
.source ""
2020-03-24 03:54:23 +08:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lc/K;",
">;"
}
.end annotation
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
# static fields
.field public static final enum a:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
.field public static final enum b:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
.field public static final enum c:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
.field public static final enum d:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
.field public static final enum e:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
.field private static final synthetic f:[Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
# instance fields
.field final g:Ljava/lang/String;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
# direct methods
.method static constructor <clinit>()V
.locals 8
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
new-instance v0, Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v1, 0x0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v2, "TLS_1_3"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v3, "TLSv1.3"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {v0, v2, v1, v3}, Lc/K;-><init>(Ljava/lang/String;ILjava/lang/String;)V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sput-object v0, Lc/K;->a:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
new-instance v0, Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v2, 0x1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v3, "TLS_1_2"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v4, "TLSv1.2"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {v0, v3, v2, v4}, Lc/K;-><init>(Ljava/lang/String;ILjava/lang/String;)V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sput-object v0, Lc/K;->b:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
new-instance v0, Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v3, 0x2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v4, "TLS_1_1"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v5, "TLSv1.1"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {v0, v4, v3, v5}, Lc/K;-><init>(Ljava/lang/String;ILjava/lang/String;)V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sput-object v0, Lc/K;->c:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
new-instance v0, Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v4, 0x3
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v5, "TLS_1_0"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v6, "TLSv1"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {v0, v5, v4, v6}, Lc/K;-><init>(Ljava/lang/String;ILjava/lang/String;)V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sput-object v0, Lc/K;->d:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
new-instance v0, Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v5, 0x4
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v6, "SSL_3_0"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v7, "SSLv3"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {v0, v6, v5, v7}, Lc/K;-><init>(Ljava/lang/String;ILjava/lang/String;)V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sput-object v0, Lc/K;->e:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v0, 0x5
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
new-array v0, v0, [Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sget-object v6, Lc/K;->a:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
aput-object v6, v0, v1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sget-object v1, Lc/K;->b:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
aput-object v1, v0, v2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sget-object v1, Lc/K;->c:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
aput-object v1, v0, v3
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sget-object v1, Lc/K;->d:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
aput-object v1, v0, v4
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sget-object v1, Lc/K;->e:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
aput-object v1, v0, v5
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sput-object v0, Lc/K;->f:[Lc/K;
2020-01-11 23:35:37 +08:00
return-void
.end method
2020-03-24 03:54:23 +08:00
.method private constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")V"
}
.end annotation
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iput-object p3, p0, Lc/K;->g:Ljava/lang/String;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
return-void
2020-01-11 23:35:37 +08:00
.end method
2020-03-24 03:54:23 +08:00
.method public static a(Ljava/lang/String;)Lc/K;
.locals 6
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
2020-01-11 23:35:37 +08:00
move-result v0
2020-03-24 03:54:23 +08:00
const v1, 0x4b88569
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v2, 0x4
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v3, 0x3
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v4, 0x2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v5, 0x1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eq v0, v1, :cond_1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const v1, 0x4c38896
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eq v0, v1, :cond_0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
packed-switch v0, :pswitch_data_0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
goto :goto_0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:pswitch_0
const-string v0, "TLSv1.3"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2020-01-11 23:35:37 +08:00
move-result v0
2020-03-24 03:54:23 +08:00
if-eqz v0, :cond_2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v0, 0x0
2020-01-11 23:35:37 +08:00
goto :goto_1
2020-03-24 03:54:23 +08:00
:pswitch_1
const-string v0, "TLSv1.2"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2020-01-11 23:35:37 +08:00
move-result v0
2020-03-24 03:54:23 +08:00
if-eqz v0, :cond_2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v0, 0x1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
goto :goto_1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:pswitch_2
const-string v0, "TLSv1.1"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2020-01-11 23:35:37 +08:00
move-result v0
2020-03-24 03:54:23 +08:00
if-eqz v0, :cond_2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v0, 0x2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
goto :goto_1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:cond_0
const-string v0, "TLSv1"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2020-01-11 23:35:37 +08:00
move-result v0
2020-03-24 03:54:23 +08:00
if-eqz v0, :cond_2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v0, 0x3
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
goto :goto_1
2020-01-11 23:35:37 +08:00
:cond_1
2020-03-24 03:54:23 +08:00
const-string v0, "SSLv3"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
move-result v0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eqz v0, :cond_2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v0, 0x4
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
goto :goto_1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:cond_2
:goto_0
const/4 v0, -0x1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:goto_1
if-eqz v0, :cond_7
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eq v0, v5, :cond_6
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eq v0, v4, :cond_5
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eq v0, v3, :cond_4
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-ne v0, v2, :cond_3
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sget-object p0, Lc/K;->e:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
return-object p0
2020-01-11 23:35:37 +08:00
:cond_3
2020-03-24 03:54:23 +08:00
new-instance v0, Ljava/lang/IllegalArgumentException;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
new-instance v1, Ljava/lang/StringBuilder;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string v2, "Unexpected TLS version: "
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
move-result-object p0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
throw v0
2020-01-11 23:35:37 +08:00
:cond_4
2020-03-24 03:54:23 +08:00
sget-object p0, Lc/K;->d:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
return-object p0
2020-01-11 23:35:37 +08:00
:cond_5
2020-03-24 03:54:23 +08:00
sget-object p0, Lc/K;->c:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
return-object p0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:cond_6
sget-object p0, Lc/K;->b:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
return-object p0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:cond_7
sget-object p0, Lc/K;->a:Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
return-object p0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
nop
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:pswitch_data_0
.packed-switch -0x1dfc3f27
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
2020-01-11 23:35:37 +08:00
.end method
2020-03-24 03:54:23 +08:00
.method public static valueOf(Ljava/lang/String;)Lc/K;
2020-01-11 23:35:37 +08:00
.locals 1
2020-03-24 03:54:23 +08:00
const-class v0, Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
move-result-object p0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
check-cast p0, Lc/K;
return-object p0
2020-01-11 23:35:37 +08:00
.end method
2020-03-24 03:54:23 +08:00
.method public static values()[Lc/K;
2020-01-11 23:35:37 +08:00
.locals 1
2020-03-24 03:54:23 +08:00
sget-object v0, Lc/K;->f:[Lc/K;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {v0}, [Lc/K;->clone()Ljava/lang/Object;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
move-result-object v0
check-cast v0, [Lc/K;
return-object v0
2020-01-11 23:35:37 +08:00
.end method