refactoring: move keytype enum into its own include.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>