package o; import com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException; import java.security.GeneralSecurityException; import java.util.Collections; import java.util.HashMap; import java.util.Map; import o.NZO; import o.RyZ; import o.uAf; import o.vAr; /* renamed from: o.pTO, reason: case insensitive filesystem */ /* loaded from: classes2.dex */ public abstract class AbstractC16575pTO { public final Class a; public final Class b; public final Map, AbstractC5281bqA> d; public abstract NZO.Sts b(); public abstract KeyProtoT b(jra jraVar) throws InvalidProtocolBufferException; public abstract void b(KeyProtoT keyprotot) throws GeneralSecurityException; public abstract String d(); @SafeVarargs public AbstractC16575pTO(Class cls, AbstractC5281bqA... abstractC5281bqAArr) { this.a = cls; HashMap hashMap = new HashMap(); int length = abstractC5281bqAArr.length; for (int i = 0; i <= 0; i++) { AbstractC5281bqA abstractC5281bqA = abstractC5281bqAArr[0]; if (hashMap.containsKey(abstractC5281bqA.e)) { StringBuilder sb = new StringBuilder("KeyTypeManager constructed with duplicate factories for primitive "); sb.append(abstractC5281bqA.e.getCanonicalName()); throw new IllegalArgumentException(sb.toString()); } hashMap.put(abstractC5281bqA.e, abstractC5281bqA); } int length2 = abstractC5281bqAArr.length; this.b = abstractC5281bqAArr[0].e; this.d = Collections.unmodifiableMap(hashMap); } public uAf.RVV a() { return uAf.RVV.ALGORITHM_NOT_FIPS; } public final

P c(KeyProtoT keyprotot, Class

cls) throws GeneralSecurityException { AbstractC5281bqA abstractC5281bqA = this.d.get(cls); if (abstractC5281bqA == null) { StringBuilder sb = new StringBuilder("Requested primitive class "); sb.append(cls.getCanonicalName()); sb.append(" not supported."); throw new IllegalArgumentException(sb.toString()); } return (P) abstractC5281bqA.b(keyprotot); } /* renamed from: o.pTO$LWm */ /* loaded from: classes2.dex */ public static abstract class LWm { public final Class c; public abstract KeyProtoT a(KeyFormatProtoT keyformatprotot) throws GeneralSecurityException; public abstract void d(KeyFormatProtoT keyformatprotot) throws GeneralSecurityException; public abstract KeyFormatProtoT e(jra jraVar) throws InvalidProtocolBufferException; public LWm(Class cls) { this.c = cls; } /* renamed from: o.pTO$LWm$RVV */ /* loaded from: classes2.dex */ public static final class RVV { public RyZ.IeS c; public KeyFormatProtoT e; public RVV(KeyFormatProtoT keyformatprotot, RyZ.IeS ieS) { this.e = keyformatprotot; this.c = ieS; } } public Map> d() throws GeneralSecurityException { return Collections.emptyMap(); } } public LWm c() { throw new UnsupportedOperationException("Creating keys is not supported."); } }