gmime.autocrypt_header_list

Module for [AutocryptHeaderList] class

Types 3

A list of Autocrypt headers, typically extracted from a GMimeMessage.

Methods
GType _gType() @property
AutocryptHeaderList self()Returns `this`, for use in `with` statements.
AutocryptHeaderListGidBuilder builder()Get builder for [gmime.autocryptheaderlist.AutocryptHeaderList] Returns: New builder object
void add(gmime.autocrypt_header.AutocryptHeader header)Adds a the passed #GMimeAutocryptHeader to the list.
uint addMissingAddresses(gmime.internet_address_list.InternetAddressList addresses)Adds a new incomplete #GMimeAutocryptHeader object for each InternetAddressMailbox found in #addresses.
uint getCount()See how many Autocrypt headers are in the list. Returns: the number of available Autocrypt headers
gmime.autocrypt_header.AutocryptHeader getHeaderAt(uint index)Get the Nth header in the list (returns null on error, or if index is out of bounds)
void removeIncomplete()Remove all incomplete Autocrypt headers from the list.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GMimeAutocryptHeaderList object. Returns: a new #GMimeAutocryptHeaderList object.

Fluent builder for [gmime.autocrypt_header_list.AutocryptHeaderList]