AutocryptHeaderList.getHeaderForAddress

Gets the Autocrypt header corresponding to the given mailbox.

Parameters

mailbox gmime.internet_address_mailbox.InternetAddressMailbox

an #InternetAddressMailbox object

Return Value

Type: gmime.autocrypt_header.AutocryptHeader

a pointer to the header in the list which matches the requested address, or null if no such header exists in the list.