gmime.autocrypt_header_list

Module for [AutocryptHeaderList] class

Types 3

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

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
AutocryptHeaderList self() nothrowReturns `this`, for use in `with` statements.
AutocryptHeaderListGidBuilder builder() static nothrowGet builder for [gmime.autocrypt_header_list.AutocryptHeaderList] Returns: New builder object
void add(gmime.autocrypt_header.AutocryptHeader header) nothrowAdds a the passed #GMimeAutocryptHeader to the list.
uint addMissingAddresses(gmime.internet_address_list.InternetAddressList addresses) nothrowAdds a new incomplete #GMimeAutocryptHeader object for each InternetAddressMailbox found in #addresses.
uint getCount() nothrowSee how many Autocrypt headers are in the list. Returns: the number of available Autocrypt headers
gmime.autocrypt_header.AutocryptHeader getHeaderAt(uint index) nothrowGet the Nth header in the list (returns null on error, or if index is out of bounds)
gmime.autocrypt_header.AutocryptHeader getHeaderForAddress(gmime.internet_address_mailbox.InternetAddressMailbox mailbox) nothrowGets the Autocrypt header corresponding to the given mailbox.
void removeIncomplete() nothrowRemove 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.