Send HTTP request signed using private key
Using my vendor's documentation, I am attempting to construct a URL which consists of numerous parameters, including:
token – This is the encoded form of all the session parameters, plus the validTo parameter. For example, "cpAdminType=10& ......validTo=1134134", in alphabetic order of the parameters.
All parameter values must be URL-encoded before the signing.
The token is signed using SHA and is URL encoded.
I found a utility to perform the URL encoding.
My question - what is the Linux utility or command to sign the token using SHA? It does not say SHA1 vs SHA2.
Thanks in advance...
|