Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 3 replies, 0 views
So, as @eskimo says, the problem was about the base64 string decoding.
Just replace this line of code :
let signDataDerRepresentationBase64StringData = signDataDerRepresentationBase64String.data(using: .utf8)!
by this one:
let signDataDerRepresentationBase64StringData = Data.init(base64Encoded:signB64String, options:.ignoreUnknownCharacters)
Thanks again @eskimo