Fwupd.SecurityAttr.from_variant
Description: Reference for Fwupd.SecurityAttr.from_variant

### Function

# Fwupd SecurityAttrfrom_variant

#### Declaration [src]

    FwupdSecurityAttr*
    fwupd_security_attr_from_variant (
      GVariant* value
    )

#### Description [src]

Creates a new security attribute using serialized data.

Available since: | 1.5.0

#### Parameters

`value` | `GVariant`
| The serialized data.
| The data is owned by the caller of the function.

#### Return value

Returns: | `FwupdSecurityAttr`
| A new `FwupdSecurityAttr`, or `NULL` if `value` was invalid.
| The caller of the function takes ownership of the data, and is responsible for freeing it.