Signature
Required Class: Signature Class
Generating a Signature
Smile ID requires you to transmit a unique signature and timestamp with every job you undertake. While executing jobs using any of our libraries automatically calculates the signature, there may be occasions when you need to utilise our REST API directly or generate signatures independently. For such scenarios, the following sample code can be employed to calculate a signature:
Response
The response will be a dictionary:
Confirming an Incoming Signature
To verify the authenticity of the response received from your callback as genuinely originating from Smile ID, you can confirm the returned signature and timestamp. The sample code provided below can be used to confirm the signature:
Response
The response will be a boolean value:
Last updated