mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-22 19:08:00 +01:00
Fix javadoc
This commit is contained in:
parent
ee7a45bbbc
commit
0505b943de
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue