Looking to create OAuth nonce and signature dynamically for OAuth 1.0 verification. I was thinking this could be accomplished in using the set value element and some java code, but I'm not sure what packages would need to be imported to accomplish this.
For the set value element I was going to create 3 variables (timestamp, nonce, signature) and then in the authentication header place the local variables in the correct places. For example if I wanted to generate epoch time I was going to do the following;
importPackage(com.audium.server.cvpUtil);
timestamp=new Date().getTime() /1000;
timestamp;
From for the nonce and signature do I need to import other packages or am I going about this the wrong way?
Any guidance on this would be great!