Arrange non-empty parameters (sign does not participate in signing) in lexicographic-order.
After sorting, param1=val1¶m2=val2β¦ format splicing to get string1.
Sign with SHA256withRSA algorithm and merchant private key.
Note that only non-empty parameters participate in the signature, and parameters whose val is an empty string are also regarded as effective parameters.
2. Verification Description
Arrange non-empty parameters (sign does not participate in signing) in lexicographic-order.
After sorting, param1=val1¶m2=val2β¦ format splicing to get string1.
Use SHA256withRSA algorithm and platform public key for signature verification.
Note that only non-empty parameters participate in the signature verification, and parameters whose val is an empty string are also regarded as effective parameters.