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 featurestream
is a small wrapper aroundaead::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.
- Recipient
Header - 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.
- Verification
Result - Sender verification result.