Licitly has 2 different meanings across 1 category:
Adverb
in a manner acceptable to common custom
"you cannot do this legitimately!"
In a licit manner, legally, in a manner compatible with law.