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.AbstractC16575pTO; import o.NZO; import o.RyZ; import o.uAf; /* loaded from: classes2.dex */ public final class AoX extends AbstractC16575pTO { @Override // o.AbstractC16575pTO public final /* synthetic */ void b(XmB xmB) throws GeneralSecurityException { XmB xmB2 = xmB; ifG.b(xmB2.version_); ifG.e(xmB2.keyValue_.d()); } /* JADX INFO: Access modifiers changed from: package-private */ public AoX() { super(XmB.class, new AbstractC5281bqA(InterfaceC4280bVg.class) { // from class: o.AoX.5 @Override // o.AbstractC5281bqA public final /* synthetic */ InterfaceC4280bVg b(XmB xmB) throws GeneralSecurityException { return new WCy(xmB.keyValue_.c()); } }); } @Override // o.AbstractC16575pTO public final NZO.Sts b() { return NZO.Sts.SYMMETRIC; } @Override // o.AbstractC16575pTO public final AbstractC16575pTO.LWm c() { return new AbstractC16575pTO.LWm(this, FRl.class) { // from class: o.AoX.3 private AoX a; { this.a = this; } @Override // o.AbstractC16575pTO.LWm public final /* synthetic */ XmB a(FRl fRl) throws GeneralSecurityException { return XmB.b().e(jra.e(YTf.b(fRl.keySize_))).a().h(); } @Override // o.AbstractC16575pTO.LWm public final /* synthetic */ void d(FRl fRl) throws GeneralSecurityException { ifG.e(fRl.keySize_); } @Override // o.AbstractC16575pTO.LWm public final Map> d() throws GeneralSecurityException { HashMap hashMap = new HashMap(); hashMap.put("AES128_GCM", new AbstractC16575pTO.LWm.RVV(FRl.c().d(16).h(), RyZ.IeS.TINK)); hashMap.put("AES128_GCM_RAW", new AbstractC16575pTO.LWm.RVV(FRl.c().d(16).h(), RyZ.IeS.RAW)); hashMap.put("AES256_GCM", new AbstractC16575pTO.LWm.RVV(FRl.c().d(32).h(), RyZ.IeS.TINK)); hashMap.put("AES256_GCM_RAW", new AbstractC16575pTO.LWm.RVV(FRl.c().d(32).h(), RyZ.IeS.RAW)); return Collections.unmodifiableMap(hashMap); } @Override // o.AbstractC16575pTO.LWm public final /* synthetic */ FRl e(jra jraVar) throws InvalidProtocolBufferException { return FRl.a(jraVar, C1458aEp.c()); } }; } @Override // o.AbstractC16575pTO public final uAf.RVV a() { return uAf.RVV.ALGORITHM_REQUIRES_BORINGCRYPTO; } @Override // o.AbstractC16575pTO public final /* synthetic */ XmB b(jra jraVar) throws InvalidProtocolBufferException { return XmB.b(jraVar, C1458aEp.c()); } @Override // o.AbstractC16575pTO public final String d() { return "type.googleapis.com/google.crypto.tink.AesGcmKey"; } }