this was takin from the attourney generals website:
What is the process for purchasing a firearm in California?
All firearms purchases and transfers, including private party transactions and sales at gun shows, must be made through a licensed dealer under the Dealer Record of Sale (DROS) process. California imposes a 10-day waiting period before a firearm can be released to a buyer or transferee. A person must be at least 18 years of age to purchase a rifle or shotgun. To buy a handgun, a person must be at least 21 years of age, and either 1) possess an HSC plus successfully complete a safety demonstration with the handgun being purchased or 2) qualify for an HSC exemption.
As part of the DROS process, the buyer must present "clear evidence of identity and age" which is defined as a valid, non-expired California Driver's License or Identification Card issued by the Department of Motor Vehicles. A military identification accompanied by permanent duty station orders indicating a posting in California is also acceptable.
(PC Section 12071)
http://caag.state.ca.us/firearms/