validateHMACHeaders verifies that a HMAC signature and the associated date have been sent in the right format and signed with the correct secret
createHMACHeaderValues creates the HMAC signature and the associated date that can be directly inserted into the appropriate headers (generally Date and Authorization)
Extracts HMAC signing into separate library.
Two main methods are provided:
validateHMACHeaders
verifies that a HMAC signature and the associated date have been sent in the right format and signed with the correct secretcreateHMACHeaderValues
creates the HMAC signature and the associated date that can be directly inserted into the appropriate headers (generallyDate
andAuthorization
)