Skip to content

Commit e054ee1

Browse files
committed
Using signingName in fixedInputString
1 parent d61e010 commit e054ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/auth/aws-signing-default/common/src/aws/smithy/kotlin/runtime/auth/awssigning/SigV4aSignatureCalculator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ internal class SigV4aSignatureCalculator(override val sha256Provider: HashSuppli
7777
*/
7878
private fun fixedInputString(accessKeyId: String, counter: Byte): ByteArray =
7979
byteArrayOf(0x00, 0x00, 0x00, 0x01) +
80-
"AWS4-ECDSA-P256-SHA256".encodeToByteArray() +
80+
AwsSigningAlgorithm.SIGV4_ASYMMETRIC.signingName.encodeToByteArray() +
8181
byteArrayOf(0x00) +
8282
accessKeyId.encodeToByteArray() +
8383
counter +

0 commit comments

Comments
 (0)