Crate threema_client

Source

Modules§

blob_api
upload, download and delete files
directory_api
access account- and keyserver
import
utilities to import threema accounts from the mobile app
messaging_client
Managed connection using the transport layer (keep alive, reconnect, ack management)
msg_types
Message types used inside end-to-end messages
naclbox
TODO: top comment alias for sodiumoxide::crypto::box_::curve25519xsalsa20poly1305, the used public key crypto suite. This pub use exists as long as naclbox::PublicKey and naclbox::SecretKey are part of this crate’s API. crypto_box_curve25519xsalsa20poly1305 , a particular combination of Curve25519, Salsa20, and Poly1305 specified in Cryptography in NaCl.
pltypes
transport
Threema Transport Layer

Structs§

Credentials
Own Account credentials: Threema-ID and SecretKey
InvalidID
Tried to parse a malformed ID (not 8 ascii chars)
Peer
Contact Account details: Threema-ID and PublicKey
ThreemaID
User Identity as 8 Bytes, like ECHOECHO

Enums§

ParseError
Collection of errors that could happen during protocol and message parsing