.class public final synthetic Lz5/a50;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lz5/b50;
.implements Lz5/jd;


# instance fields
.field public final r:[B


# direct methods
.method public constructor <init>([BI)V
    .registers 4

    const/4 v0, 0x1

    if-eq p2, v0, :cond_9

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

    iput-object p1, p0, Lz5/a50;->r:[B

    return-void

    .line 2
    :cond_9
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/a50;->r:[B

    return-void
.end method


# virtual methods
.method public b(Landroid/util/JsonWriter;)V
    .registers 5

    iget-object v0, p0, Lz5/a50;->r:[B

    sget-object v1, Lz5/c50;->b:Ljava/lang/Object;

    const-string v1, "params"

    invoke-virtual {p1, v1}, Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter;

    move-result-object v1

    invoke-virtual {v1}, Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter;

    array-length v1, v0

    const/4 v2, 0x0

    .line 1
    invoke-static {v0, v2}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;

    move-result-object v0

    const/16 v2, 0x2710

    if-ge v1, v2, :cond_1a

    const-string v2, "body"

    goto :goto_22

    .line 2
    :cond_1a
    invoke-static {v0}, Lz5/z40;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_29

    const-string v2, "bodydigest"

    :goto_22
    invoke-virtual {p1, v2}, Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter;

    move-result-object v2

    invoke-virtual {v2, v0}, Landroid/util/JsonWriter;->value(Ljava/lang/String;)Landroid/util/JsonWriter;

    :cond_29
    const-string v0, "bodylength"

    invoke-virtual {p1, v0}, Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter;

    move-result-object v0

    int-to-long v1, v1

    invoke-virtual {v0, v1, v2}, Landroid/util/JsonWriter;->value(J)Landroid/util/JsonWriter;

    invoke-virtual {p1}, Landroid/util/JsonWriter;->endObject()Landroid/util/JsonWriter;

    return-void
.end method

.method public zza()Lz5/kd;
    .registers 3

    iget-object v0, p0, Lz5/a50;->r:[B

    new-instance v1, Lz5/o7;

    invoke-direct {v1, v0}, Lz5/o7;-><init>([B)V

    return-object v1
.end method
