AutocryptHeader.newFromString

Creates a new #GMimeAutocryptHeader object based on the value of an Autocrypt: header.

Note that this will not have an effective_date set, since the effective_date is derived from the Date: line in the same block of e-mail headers, but cannot be extracted from the raw Autocrypt: header itself.

class AutocryptHeader
static
newFromString
(
string string_
)

Parameters

string_ string

The raw string value of an Autocrypt header

Return Value

Type: gmime.autocrypt_header.AutocryptHeader

a new #GMimeAutocryptHeader object, or null on error.