Difference between revisions of "Validating the XML Message validation schema"

From PlatiOnline.EU
Jump to: navigation, search
(Created page with "== XML Authorization == he Plati Online version 5.x #Post URL: https://secure.plationline.eu/ #XML_Message validation schema: https://secure2.plationline.ro/xml_validation/Au...")
 
(XML Authorization)
Line 8: Line 8:
 
#Create the XML_Message;
 
#Create the XML_Message;
 
#Create a random 32 alphanumeric AES KEY;
 
#Create a random 32 alphanumeric AES KEY;
#Encrypt the AES KEY with the RSA algorithm, UrlEncode the hash (this is the value of F_CRYPT_MESSAGE);
+
#Encrypt the AES KEY with the RSA algorithm, UrlEncode this hash (this is the value of F_CRYPT_MESSAGE);
#Encrypt the XML_Message with the AES algoritm using the AES KEY and the IV_AUTH (this is the value of F_MESSAGE field);
+
#Encrypt the XML_Message with the AES algoritm using the AES KEY and the IV_AUTH, UrlEncode this hash (this is the value of F_MESSAGE field);
 
#Post the F_LOGIN, F_MESSAGE and F_CRYPT_MESSAGE to https://secure.plationline.eu/
 
#Post the F_LOGIN, F_MESSAGE and F_CRYPT_MESSAGE to https://secure.plationline.eu/

Revision as of 00:03, 15 March 2014

XML Authorization

he Plati Online version 5.x

  1. Post URL: https://secure.plationline.eu/
  2. XML_Message validation schema: https://secure2.plationline.ro/xml_validation/Auth.v4.xsd

Pseudo-code:

  1. Create the XML_Message;
  2. Create a random 32 alphanumeric AES KEY;
  3. Encrypt the AES KEY with the RSA algorithm, UrlEncode this hash (this is the value of F_CRYPT_MESSAGE);
  4. Encrypt the XML_Message with the AES algoritm using the AES KEY and the IV_AUTH, UrlEncode this hash (this is the value of F_MESSAGE field);
  5. Post the F_LOGIN, F_MESSAGE and F_CRYPT_MESSAGE to https://secure.plationline.eu/