.class public Lcom/alipay/sdk/util/Utils$AlipayPkg;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/alipay/sdk/util/Utils;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "AlipayPkg"
.end annotation


# instance fields
.field public signs:[Landroid/content/pm/Signature;

.field public versionCode:I


# direct methods
.method public constructor <init>()V
    .locals 0

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

    return-void
.end method


# virtual methods
.method public isIllegal()Z
    .locals 4

    .line 274
    iget-object v0, p0, Lcom/alipay/sdk/util/Utils$AlipayPkg;->signs:[Landroid/content/pm/Signature;

    const/4 v1, 0x0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/alipay/sdk/util/Utils$AlipayPkg;->signs:[Landroid/content/pm/Signature;

    array-length v0, v0

    if-gtz v0, :cond_0

    goto :goto_2

    :cond_0
    const/4 v0, 0x0

    .line 279
    :goto_0
    iget-object v2, p0, Lcom/alipay/sdk/util/Utils$AlipayPkg;->signs:[Landroid/content/pm/Signature;

    array-length v2, v2

    if-ge v0, v2, :cond_2

    .line 280
    iget-object v2, p0, Lcom/alipay/sdk/util/Utils$AlipayPkg;->signs:[Landroid/content/pm/Signature;

    aget-object v2, v2, v0

    invoke-virtual {v2}, Landroid/content/pm/Signature;->toByteArray()[B

    move-result-object v2

    invoke-static {v2}, Lcom/alipay/sdk/util/Utils;->getPublicKey([B)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_1

    const-string v3, "b6cbad6cbd5ed0d209afc69ad3b7a617efaae9b3c47eabe0be42d924936fa78c8001b1fd74b079e5ff9690061dacfa4768e981a526b9ca77156ca36251cf2f906d105481374998a7e6e6e18f75ca98b8ed2eaf86ff402c874cca0a263053f22237858206867d210020daa38c48b20cc9dfd82b44a51aeb5db459b22794e2d649"

    .line 281
    invoke-static {v2, v3}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_1

    const-string v0, "biz"

    const-string v1, "PublicKeyUnmatch"

    .line 283
    invoke-static {v0, v1, v2}, Lcom/alipay/sdk/app/statistic/StatisticManager;->putError(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const/4 v1, 0x1

    goto :goto_1

    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_2
    :goto_1
    return v1

    :cond_3
    :goto_2
    return v1
.end method
