1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-16 00:24:51 +02:00

Fix javadoc

This commit is contained in:
Paul Schaub 2023-06-27 14:56:29 +02:00
parent ee7a45bbbc
commit 0505b943de
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -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());