feat: アルゴリズムの指定を追加

This commit is contained in:
usbharu 2023-10-13 16:43:35 +09:00
parent 10d50815b8
commit c750bf86c8
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class HttpSignatureSignerImpl : HttpSignatureSigner {
val signature = Base64Util.encode(sign)
return Sign(
signature,
"""keyId="${keyPair.keyId}",algorithm="${signHeaders.joinToString(" ")}",signature="$signature""""
"""keyId="${keyPair.keyId}",algorithm="rsa-sha256",headers="${signHeaders.joinToString(" ")}",signature="$signature""""
)
}