Peel the garlic. Remove any tough stems from the herbs; measure out 1/2 cup (remember with rosemary, a little goes a long way). Drain and rinse the white beans, saving some of the can liquid in a liquid measuring cup.
In the bowl of a food processor, add garlic and herbs and process until finely chopped.
Add the white beans, olive oil, white wine vinegar, kosher salt, and black pepper. Process until smooth, scraping down the bowl as necessary. To make it creamier, add a bit of the liquid from the bean can and process until smooth. Store in the refrigerator for up to 1 week.