I am receiving a url encoded deflated message from some site. I need to follow 3 steps to achieve a plain text/xml in progress.
URL decodes the parameter
base64 decodes the result of point 1
decompresses (inflates) the result of point 2.
First 2 steps are done in progress.
using url-decode function
1. urldecodeSAMLRequest = URL-DECODE(inSAMLRequest)
then we apply base64 decoding function on url decoded data.
2. base64decodeSAMLRequest = BASE64-DECODE(urldecodeSAMLRequest).
Now We need to decompress/inflate the base64 decoded value to achieve a xml. Is there any way or function in progress to get this done?
Please suggest and Thanks in Advance.