summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-01-21 16:43:46 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-01-21 16:43:46 +0100
commit7951394c2d717ce3ae642e8c4304da6e8356ac91 (patch)
treef75f04e588776301699fcc52db590168221451d4 /openpgp
parent0a90c63dd3fe0beaa905d1c28924513d79e48c89 (diff)
openpgp: Remove Cert::primary_key.
Diffstat (limited to 'openpgp')
-rw-r--r--openpgp/src/cert/mod.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/openpgp/src/cert/mod.rs b/openpgp/src/cert/mod.rs
index 83f1271c..addd2c48 100644
--- a/openpgp/src/cert/mod.rs
+++ b/openpgp/src/cert/mod.rs
@@ -409,12 +409,6 @@ impl<'a> Parse<'a, Cert> for Cert {
}
impl Cert {
- /// Returns the primary key.
- pub fn primary_key(&self) -> &key::PublicKey
- {
- &self.primary.key()
- }
-
/// Returns the amalgamated primary key.
pub fn primary(&self) -> KeyAmalgamation<key::PublicParts>
{