def test_who_can_validate(self):
        # Enabled flags 00000002 = YSM_AEAD_GENERATE
        # 00000002 - stored ok
        gen_kh = 2
        # Enabled flags 00000010 = YSM_AEAD_DECRYPT_CMP
        # 00000005 - stored ok
        aead = self.hsm.generate_aead_simple('', gen_kh, self.secret)

        this = lambda kh: self.hsm.validate_aead(aead.nonce, kh, \
                                                     aead, cleartext = self.secret.pack())
        self.who_can(this, expected = [0x05], extra_khs = [0x1002, 0x20000002])
Returns fields sorted according to
dataset/ETHPy150Open Yubico/python-pyhsm/test/test_aead.py/TestAEAD.test_who_can_validate--crossover with--dataset/ETHPy150Open django-import-export/django-import-export/import_export/resources.py/Resource.get_fields