update_secrets
Description:
Update the specified setting's secrets, given a dictionary of secrets intended for that setting (deserialized from D-Bus for example).
Will also extract the given setting's secrets hash if given a connection dictionary. If setting_name
is
null, expects a fully serialized Connection as
returned by to_dbus and will update all secrets from all settings contained in
secrets
.
Parameters:
this |
the Connection |
setting_name |
the setting object name to which the secrets apply |
secrets |
a Variant of secrets, of type nm_variant_type_connection or nm_variant_type_setting |
Returns:
true if the secrets were successfully updated, false if the update failed (tried to update secrets for a setting that doesn't exist, etc) |