EXHIBIT 23.2
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in this Registration Statement of Heritage Oaks Bancorp on Form S-8, of our report dated January 21, 2005 on our audits of the consolidated financial statements of Heritage Oaks Bancorp and Subsidiaries as of December 31, 2004 and 2003, and for each of the three years in the period ended December 31, 2004, appearing in the Annual Report on Form 10-KSB.
/s/ Vavrinek, Trine, Day & Co., LLP
Rancho Cucamonga, California
July 25, 2005