Question

SnapStart url with AES encrypted parameters

Hi,

We have to create a case in Pega via a SnapStart URL. Now client is sending some parameter with AES encrypted. Would you please let me know

1. How to create a case via SnapStart URL.

2. How to decrypt the parameter values in Pega.

We are using Pega 7.1.9

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

November 1, 2017 - 7:13am

Hi,

1. How to create a case via SnapStart URL.

Its little old document but I believe this should work. I didn't find any new document.

https://pdn.pega.com/how-create-snapstart-urls-desktop-integration

Thank You.

November 1, 2017 - 7:51am
Response to Shekhar_Shubham

Hi,

If we follow the approach which is mentioned in the link you provided then we can't open the flow in the Portal. It's opening in a Harness. So below link is helpful

https://pdn.pega.com/community/product-support/question/creation-new-tab-display-new-work-object-portal-using-snapstart

However, would you please let me know how to handle point 2 i.e decrypt the incoming parameters.

November 1, 2017 - 9:27am
Response to Shekhar_Shubham

Hi,

I asked one of our SME he suggested to use crypto libraries for this.

Thank You

November 1, 2017 - 10:35am
Response to Shekhar_Shubham

Hi,

I didn't find any crypto library.

However there are functions like Utilities • decryptPropertyValue where I can see pega used "tools.getPRCrypto().decryptPropertyValue(property.getStringValue()" to decrypt. But i guess this is base-64 decoding. 

If I need to use a different decryption logic like AES (Advanced Encryption Standard) then what is the process. Do I need to upload any jar file and need to write specific function.

November 1, 2017 - 9:35pm
Response to DipakR08

Hi,

I can see Platform cipher uses AES-256, you can check that

https://pdn.pega.com/encryption-pega-platform/encryption-pega-platform

Thank You.

November 2, 2017 - 4:19am
Response to Shekhar_Shubham

Hi,

We are using pega 7.1.9 and above help is for pega 7.3.1 . Landing pages which are mentioned there are not available in Pega 7.1.9

November 2, 2017 - 8:01am
Response to DipakR08

Hi,

You don't need to upload any jar, it will be supported by JDK.

I am not sure how pega 7.19 implementation will be taken care of.

Thank You.