2020-03-24 04:02:59 +08:00
|
|
|
.class public final Lc/m$a;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source ""
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lc/m;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field a:Z
|
|
|
|
|
|
|
|
.field b:[Ljava/lang/String;
|
|
|
|
|
|
|
|
.field c:[Ljava/lang/String;
|
|
|
|
|
|
|
|
.field d:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lc/m;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iget-boolean v0, p1, Lc/m;->e:Z
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lc/m$a;->a:Z
|
|
|
|
|
|
|
|
iget-object v0, p1, Lc/m;->g:[Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lc/m$a;->b:[Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v0, p1, Lc/m;->h:[Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lc/m$a;->c:[Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-boolean p1, p1, Lc/m;->f:Z
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lc/m$a;->d:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method constructor <init>(Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lc/m$a;->a:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public a(Z)Lc/m$a;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lc/m$a;->a:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lc/m$a;->d:Z
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v0, "no TLS extensions for cleartext connections"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public varargs a([Lc/K;)Lc/m$a;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lc/m$a;->a:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
array-length v0, p1
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
array-length v2, p1
|
|
|
|
|
|
|
|
if-ge v1, v2, :cond_0
|
|
|
|
|
|
|
|
aget-object v2, p1, v1
|
|
|
|
|
|
|
|
iget-object v2, v2, Lc/K;->g:Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, v0}, Lc/m$a;->b([Ljava/lang/String;)Lc/m$a;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v0, "no TLS versions for cleartext connections"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
goto :goto_1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public varargs a([Lc/i;)Lc/m$a;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lc/m$a;->a:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
array-length v0, p1
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
array-length v2, p1
|
|
|
|
|
|
|
|
if-ge v1, v2, :cond_0
|
|
|
|
|
|
|
|
aget-object v2, p1, v1
|
|
|
|
|
|
|
|
iget-object v2, v2, Lc/i;->ib:Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, v0}, Lc/m$a;->a([Ljava/lang/String;)Lc/m$a;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v0, "no cipher suites for cleartext connections"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
goto :goto_1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public varargs a([Ljava/lang/String;)Lc/m$a;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lc/m$a;->a:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
array-length v0, p1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, [Ljava/lang/String;->clone()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, [Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lc/m$a;->b:[Ljava/lang/String;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string v0, "At least one cipher suite is required"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v0, "no cipher suites for cleartext connections"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public a()Lc/m;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lc/m;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lc/m;-><init>(Lc/m$a;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public varargs b([Ljava/lang/String;)Lc/m$a;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lc/m$a;->a:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
array-length v0, p1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, [Ljava/lang/String;->clone()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, [Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lc/m$a;->c:[Ljava/lang/String;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string v0, "At least one TLS version is required"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v0, "no TLS versions for cleartext connections"
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|