security: Fix bug: KeyType should be in the security package.