use the functions, deprecate ca_name, use cn where possible