I have tried a number of combinations and permutations of BASE64 ENCODE and
ENCRYPT BLOB but I have as yet not achieved the result in the example below.

Any ideas on how to do the following (from an integration manual):

The request must contain a HMACSHA1 signed signature.  The signed signature
is constructed in a manner detailed below.



1.1.1.    Calculating the signature

1.      The signature is created by using a copy of the query string part
of the URI, an example of which is shown below.

                 ?customerId=johns
Trucks&userName=BobH&timeStamp=2014-05-01T11:00:00Z

2.      Ensure you encode your private key using UTF8 encoding.  Once
encoded you can create your signature by using your private key



3.      Convert the signature created from step 2 into base64.



4.      If we use a private key of fakekey, the signature for the above URI
string will look like this after it has been calculated with HMAC-SHA1 and
then converted to base64

                 PeKNVo1BAiuZyHxIdMisidG92bg=

5.      The signature is now ready to be added to the Http authentication
header for the request.

TIA

David Samson


-- 
D Samson
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to