diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2021-04-21 18:47:33 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2021-04-26 13:15:52 +0200 |
commit | 65624f499b30589a40c6f4fa87f34f0c0f407394 (patch) | |
tree | 62eabc1f6500541372f3fe16b16047f3727a41b5 /openpgp/src/cert.rs | |
parent | ffb92c48d095fbe80b800795628318baeec6c958 (diff) |
openpgp: Implement ComponentBundle::attestations, improve example.
- See #335.
Diffstat (limited to 'openpgp/src/cert.rs')
-rw-r--r-- | openpgp/src/cert.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs index 12348ecf..f7f962ef 100644 --- a/openpgp/src/cert.rs +++ b/openpgp/src/cert.rs @@ -626,6 +626,7 @@ pub trait Preferences<'a>: seal::Sealed { /// for c in cert.userids() { /// acc.push(c.userid().clone().into()); /// for s in c.self_signatures() { acc.push(s.clone().into()) } +/// for s in c.attestations() { acc.push(s.clone().into()) } /// for s in c.certifications() { acc.push(s.clone().into()) } /// for s in c.self_revocations() { acc.push(s.clone().into()) } /// for s in c.other_revocations() { acc.push(s.clone().into()) } @@ -635,6 +636,7 @@ pub trait Preferences<'a>: seal::Sealed { /// for c in cert.user_attributes() { /// acc.push(c.user_attribute().clone().into()); /// for s in c.self_signatures() { acc.push(s.clone().into()) } +/// for s in c.attestations() { acc.push(s.clone().into()) } /// for s in c.certifications() { acc.push(s.clone().into()) } /// for s in c.self_revocations() { acc.push(s.clone().into()) } /// for s in c.other_revocations() { acc.push(s.clone().into()) } |