SLA printers: food-safe resin parts
Resin basics
Resins are tricky, but probably less tricky than FDM as the manufacturing process is much less likely to include contaminants in the shape of contaminated air, particles, or adding lead into the print. This is all due to the whole process of creating the polymer happening under the protection of the resin, which in its monomeric liquid state is so toxic that it is unlikely any bacteria can survive in it. But before going out on a spending spree, you need to be aware that there are basically 3 kinds of resins on the market, only one of them is for SLA. To know exactly what you get you'd need to read the MSDS, which is usually available by the manufacturer of the resin.

Two-component resins as you found in the lower half of the question. You might know them as Epoxy or Polyurethane resins. They have a base material and a hardener, sometimes called Component A and B. If mixed perfectly, they cure fully, neither hardener nor resin remains. This means it is chemically inert.
Air-curing resins. These two come as Polyurethanes and also Acrylates and you might know them better under the terms paint, lacquer or coating.
Light-cured resins, as you find them in SLA resins and all coatings that are not air-curing. These are for SLA a strange chemical mixture of a photoinitiator and then some monomers that create a copolymer while coatings can be as easy as having some initiators and the rest is a single type of monomer.

Food safety?
There are some resins is on the list of FDA approved plastics for food contact. The list is exclusive: if your plastic doesn't fit one of the listed ones, you can not use it. One example would be polyacrylate, which is defined as being &quot;formed by melt polycondensation of bisphenol-A with diphenylisophthalate and diphenylterephthalate&quot; - which excludes any other method of getting a polyacrylate and it prescribes exactly what basic materials are allowed.
As a result, many two-component resins and light-cured resins that don't match the exact chemistry and method to create an approved plastic/coating will not match the FDA approval list and won't get approval on their own.
Coating
But there is often a way out by applying a proper coating, for example with a sufficiently thick food-grade Polyurethane coating for dry foods. This would render the item food safe under FDA standards for the approved appication. You'd need to adhere to the proper method to apply this coating (manufacturers add those to the labeling usually), which can at times be somewhat complicated.
Insert
Another way might be to add an insert that does follow FDA standards, for example, a steel cup for liquids.