square/js-jose

integrate react native with js-jose

b-asaf opened this issue · 1 comments

Hi,
I write an application that receives data in JSON format and I want to validate the data source before the application starts to process the data.
currently the data is stored in Amazon and the application is written in React Native (version 0.45.1).

I wonder:

Is it possible to integrate jose package with react native?
If yes, how?
In the 1st stage I will have static data in Amazon, so I wonder how I can sign the data with jose
Thanks

js-jose requires WebCrypto to be present in your environment, either natively in the browser or with a polyfill. You can use it to sign whatever data you want.