package xyz.stream.utils;

import android.content.Context;

/* JADX INFO: loaded from: classes3.dex */
public abstract class NativeSecurity {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final boolean f36093a;

    static {
        boolean z10;
        try {
            System.loadLibrary("securecheck");
            z10 = true;
        } catch (Throwable unused) {
            z10 = false;
        }
        f36093a = z10;
    }

    public static boolean a(Context context, String str, String[] strArr) {
        if (f36093a && context != null) {
            return nativeVerify(context.getApplicationContext(), str, "F9CC3604AAFE1BA0D45021229AE56845F4C45EC10339FF75ECD1D2FBBCC64B38", strArr);
        }
        return false;
    }

    private static native boolean nativeVerify(Context context, String str, String str2, String[] strArr);
}
