I need some help regarding data encryption in queue.
There is one customer requirement that queue data should be encrypted/secured as they will store personal information.
I have tried using secure string. Its working for add queue item (I mean while adding to queue its saving as secure string) But when I retrieving data using get transaction item its not converting from secure string to normal string.
I am using secure string while adding to queue.
SecureString StrEmpName=New System.Net.NetworkCredential(String.Empty,empName).SecurePassword
And after using GetTransaction Data
String empName=TransactionItem.SpecificContent(“EmpName”)
@jayashree, Have you checked how its getting queued in orchestrator ?
→ I get an error “couldn’t determine JSON Object type for system.security.seurestring” while adding it as a secure string.
→ Then tried converting it to a JSON am getting only length of my secure string after adding in queue.
@jayashree, From my understanding when u convert it to string and add, it takes the datatype as value. i.e System.Security.SecureString is the value here.
Because I got 28 as length of the output from get Transaction Item.
WorkAround: Refer Encrypt and Decrypt Using Class section from the below link (if needed),