summaryrefslogtreecommitdiffstats
path: root/examples
AgeCommit message (Collapse)Author
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.