gmime.autocrypt_header_list
Module for [AutocryptHeaderList] class
Types 3
A list of Autocrypt headers, typically extracted from a GMimeMessage.
Methods
AutocryptHeaderList self()Returns `this`, for use in `with` statements.AutocryptHeaderListGidBuilder builder()Get builder for [gmime.autocryptheaderlist.AutocryptHeaderList] Returns: New builder objectvoid 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 headersgmime.autocrypt_header.AutocryptHeader getHeaderAt(uint index)Get 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)Gets the Autocrypt header corresponding to the given mailbox.void removeIncomplete()Remove all incomplete Autocrypt headers from the list.classAutocryptHeaderListGidBuilder : AutocryptHeaderListGidBuilderImpl!AutocryptHeaderListGidBuilder
Fluent builder for [gmime.autocrypt_header_list.AutocryptHeaderList]
Methods