diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-05-16 17:11:26 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-05-16 17:11:26 +0200 |
commit | ba036bfb1f4c6def2f916b9ef135ec7b5a98fcdb (patch) | |
tree | 0c40bf4d07a500c100c20313d9125aac2efb5cb9 /sqv/tests/revoked-key.rs | |
parent | c05e6e2dbd4f0e22a1b74c3e9ef8f05b4479aad8 (diff) |
openpgp: Introduce trait Policy. WIPfix-274
- Add a new trait `sequoia_openpgp::Policy`. Currently, this trait
only has one method that returns the current time. This time is
used when evaluating signatures.
- Use this trait in TPK::{revocation_status,alive,expired}. Remove
the corresponding *_at() functions.
- Fixes #274.
Diffstat (limited to 'sqv/tests/revoked-key.rs')
0 files changed, 0 insertions, 0 deletions