1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-12-05 03:41:07 +01:00

SigningOptions: Add missing @JvmOverloads annotations

This commit is contained in:
Paul Schaub 2025-10-21 17:40:58 +02:00
parent 8f1fff5403
commit 5220597d75
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -250,6 +250,7 @@ class SigningOptions(private val api: PGPainless) {
* @throws PGPException if the secret key cannot be unlocked or if no signing method can be
* created.
*/
@JvmOverloads
fun addInlineSignature(
signingKeyProtector: SecretKeyRingProtector,
signingKey: OpenPGPSecretKey,
@ -455,6 +456,7 @@ class SigningOptions(private val api: PGPainless) {
* @param subpacketCallback callback to change the subpackets of the signature
* @return this
*/
@JvmOverloads
fun addDetachedSignature(
signingKeyProtector: SecretKeyRingProtector,
signingKey: OpenPGPSecretKey,