R - Signed (Header)


V-SIGN (HEADER) CALCULATION

The message level security is implemented by using signing and verification of the message.

STEP 1 - CONSTRUCT SOURCE STRING

  • The source string should be formed with elements, construct with 'secret-Key' and value pair data.
  • The elements should then be sorted in ascending order, case-insensitive.
  • Each element should without any character in between them.
  • Below is a sample of 'secret-Key' value pairs:
Doc No. = "WD8888888888"
Reference Code = "RF-5242214199"

Below is sample of constructed source string by using 'secret-Key' value pairs above:

rSign = MD5( xSignature + docNo + referCode + secret-Key )
rSign = MD5( [xSignature]WD8888888888RF-5242214199[secret-Key] )

STEP 2 - SIGN THE SOURCE STRING

Get your XSignature 'secret-Key' from setting page. Sign the constructed source string in step #1 using MD5 and the shared XSignature 'secret-Key'. Below is a sample of constructed source string:

[xSignature]RF-5242214199WD8888888888[secret-Key]

Below is the final x_signature value using above source string with 'abc123cde456' as XSignature 'secret-Key':

ef5e54a22af0925cba88fab467119742e90262e3646eea1dee3949938daf3a38

Updated over 0 months Ago