Method

FwupdPluginCabinetsign

Declaration [src]

gboolean
fu_cabinet_sign (
  FuCabinet* self,
  GBytes* cert,
  GBytes* privkey,
  FuCabinetSignFlags flags,
  GError** error
)

Description [src]

Sign the cabinet archive using JCat.

Available since:1.6.0

Parameters

cert GBytes*
 

A PCKS#7 certificate.

 The data is owned by the caller of the function.
privkey GBytes*
 

A private key.

 The data is owned by the caller of the function.
flags FuCabinetSignFlags
 

Signing flags, e.g. FU_CABINET_SIGN_FLAG_NONE.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE for success.