Ask a Lawyer and Get Answers to Your Legal Questions
California statute prohibits felons from possessing a firearm (Penal Code 12021, discussed here in detail: http://www.californiacriminaldefenselawyerblog.com/2013/02/felon_in_possession_of_a_weapo_1.html).
California also prohibits felons from possessing pepper spray (Penal Code 22810, discussed briefly here: http://www.criminaldefenselawyer.com/resources/criminal-defense/state-felony-laws/can-you-legally-carry-pepper-spray-in-californ)
However, there is no prohibition on felons carrying a knife. Please do be careful with knives - California has a lot of knife laws (that apply to everyone - felons and non-felons), discussed here: http://www.shouselaw.com/california-knife-laws.html.
Your best defense is to be aware of your surroundings, carry a phone, and call 9-1-1 if you are in immediate harm.