diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-08-19 17:59:05 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-08-19 17:59:05 +0200 |
commit | 0ab5e81ad2bd1e4fc6d023ec5ba7dd003a67f5d1 (patch) | |
tree | e279842989dae2e20393fa150da2af6351f7a878 /openpgp/src | |
parent | e6502713d5a66dbd8bfc82718199bfe5684e7be1 (diff) |
openpgp: Add note to SubpacketAreas::exportable_certification.
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/packet/signature/subpacket.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openpgp/src/packet/signature/subpacket.rs b/openpgp/src/packet/signature/subpacket.rs index d0ab9637..0c914cbc 100644 --- a/openpgp/src/packet/signature/subpacket.rs +++ b/openpgp/src/packet/signature/subpacket.rs @@ -2389,6 +2389,14 @@ impl SubpacketAreas { /// [Exportable Certification subpacket]: https://tools.ietf.org/html/rfc4880#section-5.2.3.11 /// [`Serialize::export`]: https://docs.sequoia-pgp.org/sequoia_openpgp/serialize/trait.Serialize.html#method.export /// + /// Normally, you'll want to use [`Signature4::exportable`] to + /// check if a signature should be exported. That function also + /// checks whether the signature includes any sensitive + /// [Revocation Key subpackets], which also shouldn't be exported. + /// + /// [`Signature4::exportable`]: ../struct.Signature4.html#method.exportable + /// [Revocation Key subpackets]: https://tools.ietf.org/html/rfc4880#section-5.2.3.15 + /// /// If the subpacket is not present in the hashed subpacket area, /// this returns `None`. /// |