cancel
Showing results for 
Search instead for 
Did you mean: 

JSON Web Encryption in SAP CPI using public Key

TIM4CPI
Discoverer
0 Kudos

Dear Experts,

I have a requirement where the incoming payload has to be encrypted using various components of RFC 7516 - JSON Web Encryption (JWE) (ietf.org) JSON Web encryption like cipher text , IV , Additional Auth Tag.

How do u suggest this can be acheived? Can you suggest a script to accomplish this? external jars?

 

 

View Entire Topic
RVH
Explorer
0 Kudos

The Jose4J library should contain everything you need in order to do JSON Web Encryption

TIM4CPI
Discoverer
0 Kudos
Hi RVH.. the documentation shows it requires unrestricted JCE policy , how can we check this in CPI?.. I tried to use a simple script after adding the jar as archive.. but it fails to recognise the methods in ths jar