How can I validate a JSON message with a public key?
During the device on boarding the device generates a asymmetric key pair and send the public key to ThingWorx. The key is stored in a property. The message form the client will be signed with the private key and added to the JSON string.
the incoming JSON string just needs to be “truncated” by the hash value and now I need a method where I can check with the public key and the JSON string if this matches to the hash. How?
the signing will give the ThingWorx server the confidence that the message was send by this specific device that previously shared the public key.

