Verify Sign
Last updated
Last updated
Verify sign is similar to , now we use a sample notification to show the logic. Let's say we have obtained an asynchronous notification and get its body like this:
We assume you have downloaded the public key which is provided by LianLian.
A verify sign flow contains 2 step:
。
。
Take parameter sign
and its value out and then put all the other parameters with format {key}={value}
and connect them with &
character together, note:
The signature source need to be ascended in order of the first letter.
Execute the verify function with sign
and the generated signature source as well as the public key provided by LianLian. Here is a sample using Java
:
You can continue with your own delivery logic once the verification is successful.