AutocryptHeader.toString_

Gets the string representation of the Autocrypt header, or null on error. For example, it might return:

prefer-encrypt=mutual; addr=bob\example.com; 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).

class AutocryptHeader
string
toString_
(
bool gossip
)

Parameters

gossip bool

a #gboolean, indicating whether this header is for use with gossip

Return Value

Type: string

the string representation of the Autocrypt header.