Score a diamond pattern into the ham, about 1/3 inch deep. Place the ham, flat side down, in a large oven roasting bag. In a large bowl, whisk wine, oil, sliced shallots, garlic, mustard, coarsely chopped tarragon and parsley, and peppercorns together to combine. Pour into the bag and close securely with a rubber band. Insert the bag with the ham into the second bag and twist the bag closed. Place in a large bowl. Refrigerate, turning occasionally, for at least 12 and up to 18 hours.