There is no law in California restricting knife carry based only on age. It is possible for a local municipal code to cover this, but not likely. Be advised that most stores that sell knives will not sell to people under 18, but that is just to avoid getting sued, not based on any law.