summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-03-14 15:11:03 +0100
committerNeal H. Walfield <neal@pep.foundation>2019-03-14 15:11:03 +0100
commita9fc2322058efce97d22cfcf5171f53b2318372e (patch)
tree0beb12084ae41da4d93bf98ad5cf9beb273d3dbf /openpgp
parenta59409a81068180756657dbec08d2b54f7647d2a (diff)
openpgp: Improve documentation
Diffstat (limited to 'openpgp')
-rw-r--r--openpgp/src/packet/signature/subpacket.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/openpgp/src/packet/signature/subpacket.rs b/openpgp/src/packet/signature/subpacket.rs
index 01e9ef6f..c75f932b 100644
--- a/openpgp/src/packet/signature/subpacket.rs
+++ b/openpgp/src/packet/signature/subpacket.rs
@@ -1478,6 +1478,8 @@ impl Signature {
/// Returns whether or not the given key is alive, i.e. the
/// creation time has passed, but the expiration time has not.
///
+ /// This function does not check whether the key was revoked.
+ ///
/// See [Section 5.2.3.6 of RFC 4880].
///
/// [Section 5.2.3.6 of RFC 4880]: https://tools.ietf.org/html/rfc4880#section-5.2.3.6
@@ -1489,6 +1491,8 @@ impl Signature {
/// time, i.e. the creation time has passed, but the expiration
/// time has not.
///
+ /// This function does not check whether the key was revoked.
+ ///
/// See [Section 5.2.3.6 of RFC 4880].
///
/// [Section 5.2.3.6 of RFC 4880]: https://tools.ietf.org/html/rfc4880#section-5.2.3.6