Lines Matching refs:authorizations
156 bool verifyEncryptionKeyAttributes(const std::vector<ks2::Authorization> authorizations) { in verifyEncryptionKeyAttributes() argument
160 std::any_of(authorizations.begin(), authorizations.end(), [&](const ks2::Authorization& a) { in verifyEncryptionKeyAttributes()
169 std::any_of(authorizations.begin(), authorizations.end(), [&](const ks2::Authorization& a) { in verifyEncryptionKeyAttributes()
178 std::any_of(authorizations.begin(), authorizations.end(), [&](const ks2::Authorization& a) { in verifyEncryptionKeyAttributes()
187 std::any_of(authorizations.begin(), authorizations.end(), [&](const ks2::Authorization& a) { in verifyEncryptionKeyAttributes()
197 bool verifyAuthenticationKeyAttributes(const std::vector<ks2::Authorization> authorizations) { in verifyAuthenticationKeyAttributes() argument
201 std::any_of(authorizations.begin(), authorizations.end(), [&](const ks2::Authorization& a) { in verifyAuthenticationKeyAttributes()
210 std::any_of(authorizations.begin(), authorizations.end(), [&](const ks2::Authorization& a) { in verifyAuthenticationKeyAttributes()
219 std::any_of(authorizations.begin(), authorizations.end(), [&](const ks2::Authorization& a) { in verifyAuthenticationKeyAttributes()
228 std::any_of(authorizations.begin(), authorizations.end(), [&](const ks2::Authorization& a) { in verifyAuthenticationKeyAttributes()
282 if (!verifyEncryptionKeyAttributes(keyEntryResponse.metadata.authorizations)) { in loadOrCreateAndVerifyEncryptionKey()
335 if (!verifyAuthenticationKeyAttributes(keyEntryResponse.metadata.authorizations)) { in loadOrCreateAndVerifyAuthenticationKey()
583 PrintKeyCharacteristics(keyMetadata.authorizations); in TestKey()
584 bool hardware_backed = std::any_of(keyMetadata.authorizations.begin(), in TestKey()
585 keyMetadata.authorizations.end(), isHardwareEnforced); in TestKey()
586 if (std::any_of(keyMetadata.authorizations.begin(), keyMetadata.authorizations.end(), in TestKey()
789 PrintKeyCharacteristics(keyMetadata.authorizations); in GenerateKey()
805 PrintKeyCharacteristics(keyEntryResponse.metadata.authorizations); in GetCharacteristics()