This topic describes the calls that read attribute instances, and it describes the cursor used by the sec_rgy_attr_lookup_by_id( ) call.
More:
Using sec_rgy_attr_cursor_t with sec_rgy_attr_lookup_by_id( )
The sec_rgy_attr_lookup_by_id( ) Call
The sec_rgy_attr_set_lookup_by_id( ) Call
The sec_rgy_attr_lookup_by_name( ) Call