CALIFORNIA CORPORATIONS CODE SECTIONS 317(B) AND 317(C)
B. A corporation shall have power to indemnify any person who was or is a party or is threatened to be made a party to any proceeding (other than an action by or in the right of the corporation to procure a judgment in its favor) by reason of the fact that the person is or was an agent of the corporation, against expenses, judgments, fines, settlements, and other amounts actually and reasonably incurred in connection with the proceeding if that person acted in good faith and in a manner the person reasonably believed to be in the best interests of the corporation and, in the case of a criminal proceeding, had no reasonable cause to believe the conduct of the person was unlawful. The termination of any proceeding by judgment, order, settlement, conviction, or upon a plea of nolo contendere or its equivalent shall not, of itself, create a presumption that the person did not act in good faith and in a manner which the person reasonably believed to be in the best interests of the corporation or that the person had reasonable cause to believe that the person's conduct was unlawful.
C. A corporation shall have power to indemnify any person who was or is a party or is threatened to be made a party to any threatened, pending, or completed action by or in the right of the corporation to procure a judgment in its favor by reason of the fact that the person is or was an agent of the corporation, against expenses actually and reasonably incurred by that person in connection with the defense or settlement of the action if the person acted in good faith, in a manner the person believed to be in the best interests of the corporation and its shareholders.