summaryrefslogtreecommitdiffstats
path: root/examples
AgeCommit message (Collapse)Author
2019-05-15core, store, tool: Use realm instead of domain.Justus Winter
- Remove the domain parameter from core::Context. - Replace it with a realm to be passed in when opening a store. - For sq, merge store name and realm into the --store parameter. - Fixes #105.
2019-02-19openpgp: Return &[Signature] from TPK accessors.Justus Winter
- Fixes #196.
2019-02-06openpgp: Remove the armored! macro.Justus Winter
- The packet parser now digests armored data, so there is no need to use this even in examples or tests, just use the appropriate .from_bytes(..) function. - Fixes #169.
2018-12-14openpgp: Introduce trait Parse.Justus Winter
- Trait Parse introduces a uniform interface to parse packets, messages, keys, and related data structures.
2018-11-24Rename the openpgp crate to sequoia-openpgp.Justus Winter
2018-07-09Fix links in examplesWiktor Kwapisiewicz
Working links do not use "preview" subdomain.
2018-06-13openpgp: Rename Message to PacketPileNeal H. Walfield
- RFC 4880 defines an OpenPGP message to be a sequence of packets with a particular structure (Section 11.3; https://tools.ietf.org/html/rfc4880#section-11.3). Since there is no term for an unstructured sequence of packets, we invent one.
2018-03-23openpgp: Move the TPK type definition to openpgp proper.Justus Winter
- We define all types in the root of the openpgp crate, and their implementations in separate modules. This makes using these types much simpler, yet keeps the root from getting too crowded. - Also fix all users accordingly.
2018-02-06openpgp: Improve armored! macro.Justus Winter
- Use $crate to refer to the current crate making this macro easier to use. - Simplify examples accordingly.
2018-01-31Add the code from the guide as examples.Justus Winter
2017-12-14ffi: Move the examples.Justus Winter
- Move the 'example.c' to sequoia-ffi. - Fix and improve Makefile.
2017-12-08Rework the context.Justus Winter
- Create default context with 'Context::new', create builder with 'Context::configure'. - Rename 'Pre' to 'Config'. - Expose builder to ffi.
2017-12-06Add 'domain' to the context.Justus Winter
- The domain uniquely identifies the application. It should be a property of the context.
2017-12-01Create context objects.Justus Winter
- Context objects can be used to tweak the library configuration. Currently, a home and lib directory can be set. Reasonable defaults are provided. - Add ffi functions.
2017-11-23Add a foreign function interface.Justus Winter
- For now, we keep the ffi in this crate, later on we may want to move it to sequoia-ffi. - Example code how to use the library from C is added as well.