Available on crate features
rust or web only.Expand description
PostGuard client API.
Used for:
- Encrypting, signing, packing metadata (sealing),
- Decrypting, verifying, unpacking metadata (unsealing).
Modules§
- rust
rust - This module utilizes the symmetric primitives provided by
Rust Crypto. The streaming interface, enabled using the featurestreamis 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
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.