self_sign_async
Description:
[ Version ( since = "1.5.0" ) ]
public async string self_sign_async (string value, SelfSignFlags flags, Cancellable? cancellable) throws Error
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 connect_async on this before using this method.
Parameters:
this |
A Client |
value |
A string to sign, typically a JSON blob |
flags |
SelfSignFlags, e.g. fwupd_self_sign_flag_add_timestamp |
cancellable |
the Cancellable, or null |
callback |
the function to run on completion |
callback_data |
the data to pass to |