security: In IdentityStorage, added getKeyType.