Chicken Adobo

Ingredients:
4 chicken thighs (about 1 lb.)
4 chicken legs (about 1 lb.)
Kosher salt, to taste
14 cloves garlic, slivered
1 2⁄3 cups coconut, palm, or white wine vinegar
2 tsp. whole black peppercorns
10 bay leaves
Steamed long-grain white rice (optional)