summaryrefslogtreecommitdiffstats
path: root/openpgp/src/types
AgeCommit message (Collapse)Author
2020-02-21openpgp: Mark enum SymmetricAlgorithm as non-exhaustive.Justus Winter
2020-02-21openpgp: Mark enum Curve as non-exhaustive.Justus Winter
2020-02-21openpgp: Mark enum PublicKeyAlgorithm as non-exhaustive.Justus Winter
2020-02-20openpgp: Typo.Justus Winter
2020-02-20openpgp: Improve debug formatting of the bitfield types.Justus Winter
- Do not erroneously report padding for KeyFlags. - Print unknown flags and padding for KeyServerPreferences. - Provide nicer output for Features.
2020-02-19openpgp: Move RevocationStatus to module types.Justus Winter
2020-02-11openpgp: New function to normalize SystemTime.Justus Winter
2020-02-10openpgp: New type RevocationKey.Justus Winter
- See #431.
2020-02-10openpgp: Add Timestamp::MAX.Neal H. Walfield
- Add a constant to represent the latest time representable by a `Timestamp`.
2020-02-09openpgp: Provide some convenient constants.Neal H. Walfield
2020-02-06openpgp: Fix name of setter.Justus Winter
2020-02-06openpgp: Rename methods 'set_policy' to 'with_policy'.Justus Winter
- Fixes #427.
2020-01-31openpgp: Add a policy object.Neal H. Walfield
- Change all functions that need to evaluate the validity of a signature (either directly or indirectly to take a policy object. - Use the policy object to allow the user to place additional constraints on a signature's validity. - This addresses the first half of #274 (it introduces the policy object, but does not yet implement any policy).
2020-01-20openpgp: Use the new framework for Cert::userid.Justus Winter
- Fixes #414.
2020-01-15openpgp: Add application example for Timestamp::round_down.Justus Winter
2020-01-15openpgp: Implement addition and subtraction of durations.Justus Winter
2020-01-08openpgp: Add convenience functions for masking timestamps.Justus Winter
- Timestamps can be used to identify people attending a common event, like a key signing party. By reducing the resolution of the time stamps, we can alleviate this problem. - Fixes #216.
2020-01-02openpgp: Correctly handle padding on KeyServerPreferences, add test.Justus Winter
2020-01-02openpgp: Correctly handle padding on Features, add rountrip test.Justus Winter
2020-01-02openpgp: Fix impl std::hash::Hash for KeyFlags.Justus Winter
2020-01-02openpgp: Fix roundtripping of KeyFlags, add test.Justus Winter
- In particular, preserve any padding.
2020-01-02openpgp: Align function name.Justus Winter
2020-01-02openpgp: Make KeyFlags::new polymorphic, improve KeyFlags::default.Justus Winter
2019-12-17openpgp: Make Features and KeyServerPreferences impl Eq, Hash.Justus Winter
2019-12-06openpgp: Rename signature types.Justus Winter
- This aligns our terminology with that of the RFC.
2019-12-04openpgp: Rename KeyFlag's accessors.Justus Winter
- Fixes #359.
2019-12-03openpgp: Rename openpgp::conversions to openpgp::fmt.Justus Winter
2019-12-03openpgp: Add two new types, Timestamp and Duration.Justus Winter
- Timestamp and Duration represent dates and durations with the range and resolution that OpenPGP can represent. By using these types to store dates and durations, we enforce correct canonicalization.
2019-11-25openpgp: Rename openpgp::constants to openpgp::types.Justus Winter
- Fixes #381.