self_sign


Description:

[ 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.

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

Returns:

a signature, or null for failure




2022 vala-language.org