Method

FwupdPluginDevicesecurity_attr_new

since: 1.8.4

Declaration [src]

FwupdSecurityAttr*
fu_device_security_attr_new (
  FuDevice* self,
  const gchar* appstream_id
)

Description [src]

Creates a new FwupdSecurityAttr for this specific device.

Available since: 1.8.4

Parameters

appstream_id

Type: const gchar*

The AppStream component ID, e.g. com.intel.BiosGuard.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: FwupdSecurityAttr

A FwupdSecurityAttr.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.