Crate sequoia_autocrypt[][src]

This crate deals with Autocrypt encoded data (see the Autocrypt Spec).

Scope

This implements low-level functionality like encoding and decoding of Autocrypt headers and setup messages. Note: Autocrypt is more than just headers; it requires tight integration with the MUA.

Structs

Attribute

An autocrypt header attribute.

AutocryptHeader

A parsed Autocrypt header.

AutocryptHeaders

A set of parsed Autocrypt headers.

AutocryptSetupMessage

Holds an Autocrypt Setup Message.

AutocryptSetupMessageParser

A Parser for an AutocryptSetupMessage.

Enums

Autocrypt

Version of Autocrypt to use. Autocrypt::default() always returns the latest version.

AutocryptHeaderType

Whether the data comes from an “Autocrypt” or “Autocrypt-Gossip” header.

Functions

cert_builder

Generates a key compliant to Autocrypt.

Type Definitions

Result

Crate result specialization.