package ma;

import com.google.crypto.tink.proto.KeyData$KeyMaterialType;
import com.google.crypto.tink.proto.OutputPrefixType;
import com.google.crypto.tink.shaded.protobuf.ByteString;
import java.security.GeneralSecurityException;

/* JADX INFO: loaded from: classes2.dex */
public final class h {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f30517a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Class f30518b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final KeyData$KeyMaterialType f30519c;

    public h(String str, Class cls, KeyData$KeyMaterialType keyData$KeyMaterialType) {
        this.f30517a = str;
        this.f30518b = cls;
        this.f30519c = keyData$KeyMaterialType;
    }

    public final Object a(ByteString byteString) throws GeneralSecurityException {
        return ((f0) s.f30553b.f30554a.get()).a(t.f30555b.a(h0.a(this.f30517a, byteString, this.f30519c, OutputPrefixType.RAW, null)), this.f30518b);
    }
}
