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

Fix javadoc parameter names

This commit is contained in:
Paul Schaub 2025-03-19 10:59:05 +01:00
parent 429186c5e1
commit 04160fbe27
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. * 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. * @return true if fingerprint is valid.
*/ */
protected abstract fun isValid(fingerprint: String): Boolean 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 * Return the fingerprint of the primary key of the given key ring. This method
* automatically matches key versions to fingerprint implementations. * automatically matches key versions to fingerprint implementations.
* *
* @param ring key ring * @param keys key ring
* @return fingerprint * @return fingerprint
*/ */
@JvmStatic fun of(keys: PGPKeyRing): OpenPgpFingerprint = of(keys.publicKey) @JvmStatic fun of(keys: PGPKeyRing): OpenPgpFingerprint = of(keys.publicKey)

View file

@ -50,7 +50,7 @@ class Policy(
* regardless of usage date. * regardless of usage date.
* *
* @param defaultHashAlgorithm default hash algorithm * @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( class HashAlgorithmPolicy(
val defaultHashAlgorithm: HashAlgorithm, val defaultHashAlgorithm: HashAlgorithm,