Sign Certificate, Library jsrsasign-latest-all-min.js using function KJUR.jws.JWS.sign('PS256')

Joined
Apr 24, 2024
Messages
2
Reaction score
0
Hi,

I dont know Javascript, but i have been trying to simulate the javascript within powerquery to sign a netsuite token certificate.
I have managed to get the postman call of the lib+function within HTML

But withPowerQuery limitation of get/ref the lib the function does not work as PowerBI does basic javascript only
i am thinking of creating an Azure Function App that creates an API refreshing the below html when a GET is executed from PBI
The issue is in Azure the script within function is not javascript but JAVA, i thought using java to read the html file but i would like to place the javascript directly within the Java window
iS there a way within JAVA to execute/translate the below directly, o have tried to write the below in pure javascript outside of the html but unable to do the get/import i think its due to server/client side differences and the HTML forces it to execute within a browser

Please Any Help

func.jpg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,286
Latest member
ChristieSo

Latest Threads

Top