Module client

Source
Expand description

PostGuard client API.

Used for:

  • Encrypting, signing, packing metadata (sealing),
  • Decrypting, verifying, unpacking metadata (unsealing).

Modules§

rust
This module utilizes the symmetric primitives provided by Rust Crypto. The streaming interface, enabled using the feature stream is a small wrapper around aead::stream. This feature enables an interface to encrypt data using asynchronous byte streams, specifically from an AsyncRead into an AsyncWrite.
web
Implementation for the web, backed by Web Crypto.

Structs§

Header
A header contains header data for all recipients.
RecipientHeader
Contains header data specific to one recipient.
Sealer
A Sealer is used to encrypt and sign data using PostGuard.
Unsealer
An Unsealer is used to decrypt and verify data using PostGuard.
VerificationResult
Sender verification result.

Enums§

Algorithm
Supported symmetric-key encryption algorithms.
Mode
Possible encryption modes.