1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-09 02:09:38 +02:00

Fix javadoc parameter names

This commit is contained in:
Paul Schaub 2025-03-19 10:59:05 +01:00
parent e68c365296
commit 6951911520
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ abstract class OpenPgpFingerprint : CharSequence, Comparable<OpenPgpFingerprint>
/**
* Check, whether the fingerprint consists of 40 valid hexadecimal characters.
*
* @param fp fingerprint to check.
* @param fingerprint fingerprint to check.
* @return true if fingerprint is valid.
*/
protected abstract fun isValid(fingerprint: String): Boolean
@ -127,7 +127,7 @@ abstract class OpenPgpFingerprint : CharSequence, Comparable<OpenPgpFingerprint>
* Return the fingerprint of the primary key of the given key ring. This method
* automatically matches key versions to fingerprint implementations.
*
* @param ring key ring
* @param keys key ring
* @return fingerprint
*/
@JvmStatic fun of(keys: PGPKeyRing): OpenPgpFingerprint = of(keys.publicKey)

View file

@ -50,7 +50,7 @@ class Policy(
* regardless of usage date.
*
* @param defaultHashAlgorithm default hash algorithm
* @param algorithmTerminationDates map of acceptable algorithms and their termination dates
* @param acceptableHashAlgorithmsAndTerminationDates map of acceptable algorithms and their termination dates
*/
class HashAlgorithmPolicy(
val defaultHashAlgorithm: HashAlgorithm,