licitly

adverb
  1. in a way that is permitted by law or rules; legally
  2. Usage: formal

Examples