Fwupd.SecurityAttr.to_variant

### Method

# Fwupd SecurityAttrto_variant

since: 1.5.0

#### Declaration [src]

    GVariant*
    fwupd_security_attr_to_variant (
      FwupdSecurityAttr* self
    )

#### Description [src]

Serialize the security attribute.

Available since: 1.5.0

#### Return value

Type: `GVariant`

The serialized data, or `NULL` for error.

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