security: In KeyType, assign permanent integers.