package com.google.android.gms.common;

import defpackage.jz0;
import defpackage.nq6;
import defpackage.vo6;

/* JADX INFO: loaded from: classes2.dex */
@jz0
public class PackageVerificationResult {
    private final String zza;
    private final boolean zzb;

    @nq6
    private final String zzc;

    @nq6
    private final Throwable zzd;

    private PackageVerificationResult(String str, int i, boolean z, @nq6 String str2, @nq6 Throwable th) {
        this.zza = str;
        this.zzb = z;
        this.zzc = str2;
        this.zzd = th;
    }

    @vo6
    public static PackageVerificationResult zza(@vo6 String str, @vo6 String str2, @nq6 Throwable th) {
        return new PackageVerificationResult(str, 1, false, str2, th);
    }

    @vo6
    public static PackageVerificationResult zzd(@vo6 String str, int i) {
        return new PackageVerificationResult(str, i, true, null, null);
    }

    public final void zzb() {
        if (this.zzb) {
            return;
        }
        String str = this.zzc;
        Throwable th = this.zzd;
        String strConcat = "PackageVerificationRslt: ".concat(String.valueOf(str));
        if (th == null) {
            throw new SecurityException(strConcat);
        }
        throw new SecurityException(strConcat, th);
    }

    public final boolean zzc() {
        return this.zzb;
    }
}
