If the meat/carcass was vacuum sealed at the fabrication/cutting site, it could very well be good up to roughly 3 months in your refrigerator as long as the temperature is adequate. Most home...
Usually there is a date on the ham for how long you can keep it. Many times I find cured hams have a refrigeration life of a month or two. After you open it, it should be good for 3+ days. Whatever...
If the plastic bag it came in is unopened it can last several weeks. If in a can, several months. If the container was opened, it will stay fresh for only a few days and must be eaten or frozen.