#### The sec_rgy_attr_test_and_update( ) Call

The sec_rgy_attr_test_and_update( ) call, like the sec_rgy_attr_update( ) call, creates new attribute instances and updates existing attribute instances attached to an object specified by name and registry domain. However, it performs the update only if a set of specified attribute instances match the attribute instances that already exist for the object. This call is useful to ensure that updates are made only if certain conditions exist.

The attribute instances to be matched are passed in an input array of sec_attr_t values. Other than this conditional test, this call functions exactly the same as the sec_rgy_attr_update( ) call.

####