When a police officer ask for your ID do have to show it ?

I live in California, i recently was stop by a cop who thought i was drunk and i wasn't i just a bad cold that made by back hurt, he then ask me for my ID and i ask him why when its clear am not breaking any laws. his response was ," it's Ca. law that i produce my ID. so i went to jail that day for... show more I live in California, i recently was stop by a cop who thought i was drunk and i wasn't i just a bad cold that made by back hurt, he then ask me for my ID and i ask him why when its clear am not breaking any laws. his response was ," it's Ca. law that i produce my ID. so i went to jail that day for resisting arrest. so is there a Ca. law that states i must show my ID when ask by a cop. if so whats the pc. #
7 answers 7