[ Version ( since = "1.2.6" ) ]
public string self_sign (string value, SelfSignFlags flags, Cancellable? cancellable = null) throws Error
Signs the data using the client self-signed certificate.
| 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 |
|
a signature, or null for failure |