Method

FwupdPluginSecurityAttrsget_by_appstream_id

Declaration [src]

FwupdSecurityAttr*
fu_security_attrs_get_by_appstream_id (
  FuSecurityAttrs* self,
  const gchar* appstream_id
)

Description [src]

Gets a specific FwupdSecurityAttr from the array.

Available since:1.7.2

Parameters

appstream_id const gchar*
 

An ID, e.g. FWUPD_SECURITY_ATTR_ID_ENCRYPTED_RAM.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: FwupdSecurityAttr
 

A FwupdSecurityAttr or NULL.

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