package o; import android.content.SharedPreferences; import android.os.Build; import java.util.Map; /* loaded from: classes3.dex */ public final class IaX { private static final oUw d = oUw.RSA_ECB_PKCS1Padding; private static final AIM g = AIM.AES_CBC_PKCS7Padding; public final AIM a; public final AIM b; public final oUw c; public final oUw e; public IaX(SharedPreferences sharedPreferences, Map map) { oUw ouw = d; this.c = oUw.valueOf(sharedPreferences.getString("FlutterSecureSAlgorithmKey", ouw.name())); AIM aim = g; this.b = AIM.valueOf(sharedPreferences.getString("FlutterSecureSAlgorithmStorage", aim.name())); String name = ouw.name(); Object obj = map.get("keyCipherAlgorithm"); oUw valueOf = oUw.valueOf(obj != null ? obj.toString() : name); this.e = valueOf.minVersionCode <= Build.VERSION.SDK_INT ? valueOf : ouw; String name2 = aim.name(); Object obj2 = map.get("storageCipherAlgorithm"); AIM valueOf2 = AIM.valueOf(obj2 != null ? obj2.toString() : name2); this.a = valueOf2.minVersionCode <= Build.VERSION.SDK_INT ? valueOf2 : aim; } public final void Oj_(SharedPreferences.Editor editor) { editor.putString("FlutterSecureSAlgorithmKey", this.e.name()); editor.putString("FlutterSecureSAlgorithmStorage", this.a.name()); } public static void Oi_(SharedPreferences.Editor editor) { editor.remove("FlutterSecureSAlgorithmKey"); editor.remove("FlutterSecureSAlgorithmStorage"); } }