summaryrefslogtreecommitdiffstats
path: root/openpgp/examples
AgeCommit message (Collapse)Author
2018-07-10openpgp: Use broken-down time in the literal data packet.Justus Winter
- Also, make the `date` argument in the LiteralWriter's constructor optional, and explain what the parameters are for.
2018-07-06openpgp: Extend example to allow selection of encryption mode.Justus Winter
2018-07-05openpgp: Add simple decryption example.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-07-02openpgp: Create a special Option-like type for PacketParser.Neal H. Walfield
- In the future, we want to return some summary information about a parsed packet sequence after the packet sequence is fully parsed. Currently, PacketParser::next() and PacketParser::recurse() consume the PacketParser and return None on EOF. Thus, even if the summary information were stored in the PacketParser, it becomes inaccessible on EOF. - This change introduces a new type, PacketParserResult, that contains either a PacketParser or a PacketParserEOF. PacketParserEOF is returned on EOF instead of None. Since it is a struct, it can hold only any information that we want to return to the caller.
2018-06-29openpgp: Implement signing.Justus Winter
- This implements the low-level functionality necessary to create signatures using RSA, DSA, ECDSA, and EdDSA.
2018-06-14openpgp: Move Tag into the packet module.Justus Winter
2018-05-31openpgp: Add example computing statistics over packets.Justus Winter
2018-05-31openpgp: Improve and document encryption example.Justus Winter
- Encrypt to multiple recipients. - Add comments.
2018-05-29openpgp: Add asymmetric encryption example.Justus Winter