self_sign_async


Description:

[ Version ( since = "1.5.0" ) ]
public async string self_sign_async (string value, SelfSignFlags flags, Cancellable? cancellable) throws Error

Signs the data using the client self-signed certificate.

You must have called [method@Client.connect_async] on this before using this method.

Parameters:

this

a Client

value

a string to sign, typically a JSON blob

flags

signing flags, e.g. fwupd_self_sign_flag_add_timestamp

cancellable

optional Cancellable

callback

the function to run on completion

callback_data

the data to pass to callback