Move to Java 17

This commit is contained in:
Кирилл
2023-01-18 14:49:57 +04:00
parent 66c732563b
commit c82ff9d6cf
5 changed files with 19 additions and 26 deletions

View File

@@ -17,7 +17,7 @@ class EcdsaSigner(
}
override fun sign(nonce: Long, message: ByteArray, source: String): ResponseSigner.Signature {
val sig = Signature.getInstance(SIGN_SCHEME)
val sig = Signature.getInstance(SIGN_SCHEME, "BC")
sig.initSign(privateKey)
val wrapped = wrapMessage(nonce, message, source)
sig.update(wrapped.toByteArray())