summaryrefslogtreecommitdiffstats
path: root/openpgp/examples/sign-detached.rs
AgeCommit message (Collapse)Author
2019-01-15openpgp: Hand a Vec<crypto::Signer> to stream::Signer.Justus Winter
- Using `crypto::Signer`s has several benefits. First, it shifts the decision which key to use to the caller, moving policy out of the caller. Second, it forces the caller to deal with encrypted keys. Finally, it allows us to use remote keys like smart cards in the future. - Fixes #142.
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-26openpgp: Update examples.Justus Winter
- The packet parser transparently strips armor now.
2018-11-24Rename the openpgp crate to sequoia-openpgp.Justus Winter
2018-11-14Avoid identity slicing.Justus Winter
2018-10-16openpgp: Improve the streaming writer API.Justus Winter
- Also, improve documentation and doctests.
2018-10-16openpgp: Improve examples.Justus Winter
- Fixes #112.
2018-08-14openpgp: Typos.Justus Winter
2018-07-24openpgp: Support setting ASCII-armor's headersNeal H. Walfield
2018-07-20openpgp: Rename finalize{,_all} to finalize{_one,}.Justus Winter
2018-07-04openpgp: Hide the `writer::Stackable` trait.Justus Winter
- Do not expose the `writer::Stackable` trait in the API. Instead, use a tuple struct to wrap boxed objects of this kind. - Add and use `writer::Stack::finalize()` and `writer::Stack::finalize_all()` to pop one or all writers from the stack.
2018-07-02openpgp: Implement detached signature generation in the Signer.Justus Winter
- Also, simplify the example accordingly. - Add an example for a normal signature.
2018-06-29openpgp: Implement signing.Justus Winter
- This implements the low-level functionality necessary to create signatures using RSA, DSA, ECDSA, and EdDSA.