.class public final Lb/o;
.super Ljava/lang/Object;


# instance fields
.field private a:Z

.field private b:[Ljava/lang/String;

.field private c:[Ljava/lang/String;

.field private d:Z


# direct methods
.method public constructor <init>(Lb/n;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    invoke-static {p1}, Lb/n;->a(Lb/n;)Z

    move-result v0

    iput-boolean v0, p0, Lb/o;->a:Z

    invoke-static {p1}, Lb/n;->b(Lb/n;)[Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lb/o;->b:[Ljava/lang/String;

    invoke-static {p1}, Lb/n;->c(Lb/n;)[Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lb/o;->c:[Ljava/lang/String;

    invoke-static {p1}, Lb/n;->d(Lb/n;)Z

    move-result v0

    iput-boolean v0, p0, Lb/o;->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, Lb/o;->a:Z

    return-void
.end method

.method static synthetic a(Lb/o;)Z
    .locals 1

    iget-boolean v0, p0, Lb/o;->a:Z

    return v0
.end method

.method static synthetic b(Lb/o;)[Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lb/o;->b:[Ljava/lang/String;

    return-object v0
.end method

.method static synthetic c(Lb/o;)[Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lb/o;->c:[Ljava/lang/String;

    return-object v0
.end method

.method static synthetic d(Lb/o;)Z
    .locals 1

    iget-boolean v0, p0, Lb/o;->d:Z

    return v0
.end method


# virtual methods
.method public final a()Lb/n;
    .locals 2

    new-instance v0, Lb/n;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lb/n;-><init>(Lb/o;B)V

    return-object v0
.end method

.method public final a(Z)Lb/o;
    .locals 2

    iget-boolean v0, p0, Lb/o;->a:Z

    if-nez v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "no TLS extensions for cleartext connections"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iput-boolean p1, p0, Lb/o;->d:Z

    return-object p0
.end method

.method public final varargs a([Lb/am;)Lb/o;
    .locals 3

    iget-boolean v0, p0, Lb/o;->a:Z

    if-nez v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "no TLS versions for cleartext connections"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    array-length v0, p1

    new-array v1, v0, [Ljava/lang/String;

    const/4 v0, 0x0

    :goto_0
    array-length v2, p1

    if-ge v0, v2, :cond_1

    aget-object v2, p1, v0

    iget-object v2, v2, Lb/am;->e:Ljava/lang/String;

    aput-object v2, v1, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    invoke-virtual {p0, v1}, Lb/o;->b([Ljava/lang/String;)Lb/o;

    move-result-object v0

    return-object v0
.end method

.method public final varargs a([Lb/k;)Lb/o;
    .locals 3

    iget-boolean v0, p0, Lb/o;->a:Z

    if-nez v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "no cipher suites for cleartext connections"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    array-length v0, p1

    new-array v1, v0, [Ljava/lang/String;

    const/4 v0, 0x0

    :goto_0
    array-length v2, p1

    if-ge v0, v2, :cond_1

    aget-object v2, p1, v0

    iget-object v2, v2, Lb/k;->aS:Ljava/lang/String;

    aput-object v2, v1, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    invoke-virtual {p0, v1}, Lb/o;->a([Ljava/lang/String;)Lb/o;

    move-result-object v0

    return-object v0
.end method

.method public final varargs a([Ljava/lang/String;)Lb/o;
    .locals 2

    iget-boolean v0, p0, Lb/o;->a:Z

    if-nez v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "no cipher suites for cleartext connections"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    array-length v0, p1

    if-nez v0, :cond_1

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "At least one cipher suite is required"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    invoke-virtual {p1}, [Ljava/lang/String;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Ljava/lang/String;

    iput-object v0, p0, Lb/o;->b:[Ljava/lang/String;

    return-object p0
.end method

.method public final varargs b([Ljava/lang/String;)Lb/o;
    .locals 2

    iget-boolean v0, p0, Lb/o;->a:Z

    if-nez v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "no TLS versions for cleartext connections"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    array-length v0, p1

    if-nez v0, :cond_1

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "At least one TLS version is required"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    invoke-virtual {p1}, [Ljava/lang/String;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Ljava/lang/String;

    iput-object v0, p0, Lb/o;->c:[Ljava/lang/String;

    return-object p0
.end method
