package p138.p176.p278.p279.p283;

import java.security.GeneralSecurityException;
import p138.p176.p278.p279.InterfaceC5177;
import p138.p176.p278.p279.InterfaceC5181;
import p138.p176.p278.p279.InterfaceC5182;
import p138.p176.p278.p279.InterfaceC5192;

/* JADX INFO: renamed from: ދ.ހ.ހ.֏.ޘ.ރ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C5229 implements InterfaceC5177<InterfaceC5181> {
    @Override // p138.p176.p278.p279.InterfaceC5177
    /* JADX INFO: renamed from: ֏ */
    public InterfaceC5182<InterfaceC5181> mo8649(String str, String str2, int i) throws GeneralSecurityException {
        String lowerCase = str2.toLowerCase();
        byte b = -1;
        if (((lowerCase.hashCode() == 1420614889 && lowerCase.equals("hybridencrypt")) ? (byte) 0 : (byte) -1) != 0) {
            throw new GeneralSecurityException(String.format("No support for primitive '%s'.", str2));
        }
        if (str.hashCode() == 396454335 && str.equals("type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey")) {
            b = 0;
        }
        if (b != 0) {
            throw new GeneralSecurityException(String.format("No support for primitive 'HybridEncrypt' with key type '%s'.", str));
        }
        C5224 c5224 = new C5224();
        if (i <= 0) {
            return c5224;
        }
        throw new GeneralSecurityException(String.format("No key manager for key type '%s' with version at least %d.", str, Integer.valueOf(i)));
    }

    @Override // p138.p176.p278.p279.InterfaceC5177
    /* JADX INFO: renamed from: ֏ */
    public InterfaceC5192<InterfaceC5181> mo8650() {
        return new C5230();
    }
}
