diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-21 16:43:46 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-21 16:43:46 +0100 |
commit | 7951394c2d717ce3ae642e8c4304da6e8356ac91 (patch) | |
tree | f75f04e588776301699fcc52db590168221451d4 /openpgp | |
parent | 0a90c63dd3fe0beaa905d1c28924513d79e48c89 (diff) |
openpgp: Remove Cert::primary_key.
Diffstat (limited to 'openpgp')
-rw-r--r-- | openpgp/src/cert/mod.rs | 6 |
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> { |