From 0505b943deeea38c855195d018b8adf4b039a0c8 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Tue, 27 Jun 2023 14:56:29 +0200 Subject: [PATCH] Fix javadoc --- .../src/main/java/org/pgpainless/key/util/KeyRingUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/util/KeyRingUtils.java b/pgpainless-core/src/main/java/org/pgpainless/key/util/KeyRingUtils.java index e87f04eb..62ffd99a 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/util/KeyRingUtils.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/util/KeyRingUtils.java @@ -488,8 +488,10 @@ public final class KeyRingUtils { /** * Strip all user-ids, user-attributes and signatures from the given public key. + * * @param bloatedKey public key * @return stripped public key + * @throws PGPException if the packet is faulty or the required calculations fail */ public static PGPPublicKey getStrippedDownPublicKey(PGPPublicKey bloatedKey) throws PGPException { return new PGPPublicKey(bloatedKey.getPublicKeyPacket(), ImplementationFactory.getInstance().getKeyFingerprintCalculator());