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


# static fields
.field public static final a:Ljava/lang/String;

.field public static final b:Ljava/lang/String;


# direct methods
.method public static constructor <clinit>()V
    .registers 2

    new-instance v0, Lz5/sd1;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lz5/sd1;-><init>(I)V

    const-string v0, "type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"

    sput-object v0, Lz5/nd1;->a:Ljava/lang/String;

    new-instance v0, Lz5/ae1;

    invoke-direct {v0}, Lz5/ae1;-><init>()V

    const-string v0, "type.googleapis.com/google.crypto.tink.AesGcmKey"

    sput-object v0, Lz5/nd1;->b:Ljava/lang/String;

    new-instance v0, Lz5/ce1;

    invoke-direct {v0}, Lz5/ce1;-><init>()V

    new-instance v0, Lz5/yd1;

    invoke-direct {v0, v1}, Lz5/yd1;-><init>(I)V

    new-instance v0, Lz5/ge1;

    invoke-direct {v0, v1}, Lz5/ge1;-><init>(I)V

    new-instance v0, Lz5/je1;

    invoke-direct {v0, v1}, Lz5/je1;-><init>(I)V

    new-instance v0, Lz5/ee1;

    invoke-direct {v0}, Lz5/ee1;-><init>()V

    new-instance v0, Lz5/sd1;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Lz5/sd1;-><init>(I)V

    sget v0, Lz5/gi1;->r:I

    :try_start_34
    invoke-static {}, Lz5/nd1;->a()V
    :try_end_37
    .catch Ljava/security/GeneralSecurityException; {:try_start_34 .. :try_end_37} :catch_38

    return-void

    :catch_38
    move-exception v0

    new-instance v1, Ljava/lang/ExceptionInInitializerError;

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

    throw v1
.end method

.method public static a()V
    .registers 3

    new-instance v0, Lz5/pd1;

    invoke-direct {v0}, Lz5/pd1;-><init>()V

    invoke-static {v0}, Lz5/ld1;->e(Lz5/fd1;)V

    invoke-static {}, Lz5/af1;->a()V

    new-instance v0, Lz5/sd1;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lz5/sd1;-><init>(I)V

    const/4 v2, 0x1

    invoke-static {v0, v2}, Lz5/ld1;->c(Lz5/xc1;Z)V

    new-instance v0, Lz5/ae1;

    invoke-direct {v0}, Lz5/ae1;-><init>()V

    invoke-static {v0, v2}, Lz5/ld1;->c(Lz5/xc1;Z)V

    invoke-static {}, Lz5/me1;->a()Z

    move-result v0

    if-eqz v0, :cond_24

    return-void

    :cond_24
    new-instance v0, Lz5/yd1;

    invoke-direct {v0, v1}, Lz5/yd1;-><init>(I)V

    invoke-static {v0, v2}, Lz5/ld1;->c(Lz5/xc1;Z)V

    :try_start_2c
    const-string v0, "AES/GCM-SIV/NoPadding"

    .line 1
    invoke-static {v0}, Ljavax/crypto/Cipher;->getInstance(Ljava/lang/String;)Ljavax/crypto/Cipher;
    :try_end_31
    .catch Ljava/security/NoSuchAlgorithmException; {:try_start_2c .. :try_end_31} :catch_33
    .catch Ljavax/crypto/NoSuchPaddingException; {:try_start_2c .. :try_end_31} :catch_33

    move v0, v2

    goto :goto_34

    :catch_33
    move v0, v1

    :goto_34
    if-eqz v0, :cond_3e

    .line 2
    new-instance v0, Lz5/ce1;

    invoke-direct {v0}, Lz5/ce1;-><init>()V

    invoke-static {v0, v2}, Lz5/ld1;->c(Lz5/xc1;Z)V

    .line 3
    :cond_3e
    new-instance v0, Lz5/ee1;

    invoke-direct {v0}, Lz5/ee1;-><init>()V

    invoke-static {v0, v2}, Lz5/ld1;->c(Lz5/xc1;Z)V

    new-instance v0, Lz5/ge1;

    invoke-direct {v0, v1}, Lz5/ge1;-><init>(I)V

    invoke-static {v0, v2}, Lz5/ld1;->c(Lz5/xc1;Z)V

    new-instance v0, Lz5/je1;

    invoke-direct {v0, v1}, Lz5/je1;-><init>(I)V

    invoke-static {v0, v2}, Lz5/ld1;->c(Lz5/xc1;Z)V

    new-instance v0, Lz5/sd1;

    invoke-direct {v0, v2}, Lz5/sd1;-><init>(I)V

    invoke-static {v0, v2}, Lz5/ld1;->c(Lz5/xc1;Z)V

    return-void
.end method
