.class public final Lcom/alipay/apmobilesecuritysdk/f/i;
.super Ljava/lang/Object;


# static fields
.field private static a:Ljava/lang/String; = ""

.field private static b:Ljava/lang/String; = ""

.field private static c:Ljava/lang/String; = ""

.field private static d:Ljava/lang/String; = ""

.field private static e:Ljava/lang/String; = ""

.field private static f:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .locals 1

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    sput-object v0, Lcom/alipay/apmobilesecuritysdk/f/i;->f:Ljava/util/Map;

    return-void
.end method

.method public static declared-synchronized a(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    :try_start_0
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "apdidTokenCache"

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

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->f:Ljava/util/Map;

    invoke-interface {v1, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->f:Ljava/util/Map;

    invoke-interface {v1, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/String;

    invoke-static {p0}, Lcom/alipay/b/a/a/a/a;->b(Ljava/lang/String;)Z

    move-result v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v1, :cond_0

    monitor-exit v0

    return-object p0

    :cond_0
    :try_start_1
    const-string p0, ""
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit v0

    return-object p0

    :catchall_0
    move-exception p0

    monitor-exit v0

    throw p0
.end method

.method public static declared-synchronized a()V
    .locals 1

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    monitor-exit v0

    return-void
.end method

.method public static declared-synchronized a(Lcom/alipay/apmobilesecuritysdk/f/b;)V
    .locals 2

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    if-eqz p0, :cond_0

    .line 6000
    :try_start_0
    iget-object v1, p0, Lcom/alipay/apmobilesecuritysdk/f/b;->a:Ljava/lang/String;

    sput-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->a:Ljava/lang/String;

    .line 7000
    iget-object v1, p0, Lcom/alipay/apmobilesecuritysdk/f/b;->b:Ljava/lang/String;

    sput-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->b:Ljava/lang/String;

    .line 8000
    iget-object p0, p0, Lcom/alipay/apmobilesecuritysdk/f/b;->c:Ljava/lang/String;

    sput-object p0, Lcom/alipay/apmobilesecuritysdk/f/i;->c:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception p0

    .line 5999
    monitor-exit v0

    throw p0

    .line 8000
    :cond_0
    :goto_0
    monitor-exit v0

    return-void
.end method

.method public static declared-synchronized a(Lcom/alipay/apmobilesecuritysdk/f/c;)V
    .locals 2

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    if-eqz p0, :cond_0

    .line 1000
    :try_start_0
    iget-object v1, p0, Lcom/alipay/apmobilesecuritysdk/f/c;->a:Ljava/lang/String;

    sput-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->a:Ljava/lang/String;

    .line 2000
    iget-object v1, p0, Lcom/alipay/apmobilesecuritysdk/f/c;->b:Ljava/lang/String;

    sput-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->b:Ljava/lang/String;

    .line 3000
    iget-object v1, p0, Lcom/alipay/apmobilesecuritysdk/f/c;->d:Ljava/lang/String;

    sput-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->d:Ljava/lang/String;

    .line 4000
    iget-object v1, p0, Lcom/alipay/apmobilesecuritysdk/f/c;->e:Ljava/lang/String;

    sput-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->e:Ljava/lang/String;

    .line 5000
    iget-object p0, p0, Lcom/alipay/apmobilesecuritysdk/f/c;->c:Ljava/lang/String;

    sput-object p0, Lcom/alipay/apmobilesecuritysdk/f/i;->c:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception p0

    .line 999
    monitor-exit v0

    throw p0

    .line 5000
    :cond_0
    :goto_0
    monitor-exit v0

    return-void
.end method

.method public static declared-synchronized a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    :try_start_0
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "apdidTokenCache"

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

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->f:Ljava/util/Map;

    invoke-interface {v1, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->f:Ljava/util/Map;

    invoke-interface {v1, p0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->f:Ljava/util/Map;

    invoke-interface {v1, p0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-void

    :catchall_0
    move-exception p0

    monitor-exit v0

    throw p0
.end method

.method public static declared-synchronized a(Landroid/content/Context;Ljava/lang/String;)Z
    .locals 8

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    const-wide/32 v1, 0x5265c00

    :try_start_0
    invoke-static {p0}, Lcom/alipay/apmobilesecuritysdk/f/h;->a(Landroid/content/Context;)J

    move-result-wide v3
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    const-wide/16 v5, 0x0

    cmp-long v7, v3, v5

    if-gez v7, :cond_0

    goto :goto_0

    :cond_0
    move-wide v1, v3

    goto :goto_0

    :catchall_0
    move-exception p0

    goto :goto_2

    :catch_0
    :goto_0
    :try_start_1
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    invoke-static {p0, p1}, Lcom/alipay/apmobilesecuritysdk/f/h;->g(Landroid/content/Context;Ljava/lang/String;)J

    move-result-wide p0

    const/4 v5, 0x0

    sub-long/2addr v3, p0

    invoke-static {v3, v4}, Ljava/lang/Math;->abs(J)J

    move-result-wide p0
    :try_end_1
    .catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    cmp-long v3, p0, v1

    if-gez v3, :cond_1

    const/4 p0, 0x1

    :goto_1
    monitor-exit v0

    return p0

    :catch_1
    move-exception p0

    :try_start_2
    invoke-static {p0}, Lcom/alipay/apmobilesecuritysdk/c/a;->a(Ljava/lang/Throwable;)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    :cond_1
    const/4 p0, 0x0

    goto :goto_1

    :goto_2
    monitor-exit v0

    throw p0
.end method

.method public static declared-synchronized b()Ljava/lang/String;
    .locals 2

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->a:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static b(Ljava/lang/String;)V
    .locals 0

    sput-object p0, Lcom/alipay/apmobilesecuritysdk/f/i;->a:Ljava/lang/String;

    return-void
.end method

.method public static declared-synchronized c()Ljava/lang/String;
    .locals 2

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->b:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static c(Ljava/lang/String;)V
    .locals 0

    sput-object p0, Lcom/alipay/apmobilesecuritysdk/f/i;->b:Ljava/lang/String;

    return-void
.end method

.method public static declared-synchronized d()Ljava/lang/String;
    .locals 2

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->d:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static d(Ljava/lang/String;)V
    .locals 0

    sput-object p0, Lcom/alipay/apmobilesecuritysdk/f/i;->c:Ljava/lang/String;

    return-void
.end method

.method public static declared-synchronized e()Ljava/lang/String;
    .locals 2

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->e:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static e(Ljava/lang/String;)V
    .locals 0

    sput-object p0, Lcom/alipay/apmobilesecuritysdk/f/i;->d:Ljava/lang/String;

    return-void
.end method

.method public static declared-synchronized f()Ljava/lang/String;
    .locals 2

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lcom/alipay/apmobilesecuritysdk/f/i;->c:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static f(Ljava/lang/String;)V
    .locals 0

    sput-object p0, Lcom/alipay/apmobilesecuritysdk/f/i;->e:Ljava/lang/String;

    return-void
.end method

.method public static declared-synchronized g()Lcom/alipay/apmobilesecuritysdk/f/c;
    .locals 8

    const-class v0, Lcom/alipay/apmobilesecuritysdk/f/i;

    monitor-enter v0

    :try_start_0
    new-instance v7, Lcom/alipay/apmobilesecuritysdk/f/c;

    sget-object v2, Lcom/alipay/apmobilesecuritysdk/f/i;->a:Ljava/lang/String;

    sget-object v3, Lcom/alipay/apmobilesecuritysdk/f/i;->b:Ljava/lang/String;

    sget-object v4, Lcom/alipay/apmobilesecuritysdk/f/i;->c:Ljava/lang/String;

    sget-object v5, Lcom/alipay/apmobilesecuritysdk/f/i;->d:Ljava/lang/String;

    sget-object v6, Lcom/alipay/apmobilesecuritysdk/f/i;->e:Ljava/lang/String;

    move-object v1, v7

    invoke-direct/range {v1 .. v6}, Lcom/alipay/apmobilesecuritysdk/f/c;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v7

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public static h()V
    .locals 1

    sget-object v0, Lcom/alipay/apmobilesecuritysdk/f/i;->f:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->clear()V

    const-string v0, ""

    sput-object v0, Lcom/alipay/apmobilesecuritysdk/f/i;->a:Ljava/lang/String;

    const-string v0, ""

    sput-object v0, Lcom/alipay/apmobilesecuritysdk/f/i;->b:Ljava/lang/String;

    const-string v0, ""

    sput-object v0, Lcom/alipay/apmobilesecuritysdk/f/i;->d:Ljava/lang/String;

    const-string v0, ""

    sput-object v0, Lcom/alipay/apmobilesecuritysdk/f/i;->e:Ljava/lang/String;

    const-string v0, ""

    sput-object v0, Lcom/alipay/apmobilesecuritysdk/f/i;->c:Ljava/lang/String;

    return-void
.end method
