to_string


Description:

public string to_string (bool gossip)

Gets the string representation of the Autocrypt header, or null on error.

For example, it might return:

prefer-encrypt=mutual; [email protected]; keydata=AAAB15BE...

If you are using this object to populate an Autocrypt-Gossip header, you should set gossip to true (this will suppress inclusion of prefer-encrypt).

Parameters:

this

a AutocryptHeader object

gossip

a bool, indicating whether this header is for use with gossip

Returns:

the string representation of the Autocrypt header.




2022 vala-language.org