Skip to Content
avatar image
Former Member

Decryption of data in response

Hi All,

I have service xSJS which returns few columns , one of the column consists encrypted data and I want to decrypt the data in SAP API Management before sending to consumer.

is it possible using any policy that I can manipulate and did some customization ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 20, 2017 at 09:42 PM

    Hi Madhav,

    What is the encryption method for the data? There are a number of ways you can potentially accomplish this, depending on what the type of encryption is.

    SAP API Management provides Python and JavaScript if you can create a script to perform the decryption. If you need something more advanced like a Java Applet you can build a JVM on SAP CP and call out to it, or if there is some API enabled service which can handle decryption you can use a callout policy to send the data and then put the decrypted response into the customer push.

    Regards,
    Elijah

    Add comment
    10|10000 characters needed characters exceeded