lucee.Componentmodels.Sv2Util
Amazon Web Services Signature 4 Utility for ColdFusion
Constructor Summary | |
---|---|
init()
Creates a new instance of the utility for generating signatures using the supplied settings. |
Method Summary | |
---|---|
private binary
|
HMAC_SHA1(string signKey, string signMessage)
NSA SHA-1 Algorithm: RFC 2104HMAC-SHA1. |
struct
|
generateSignatureData(string requestMethod, string hostName, string requestURI, any requestBody, struct requestHeaders, struct requestParams, string accessKey, string secretKey, string regionName, string serviceName, [boolean signedPayload='true'], [array excludeHeaders='[runtime expression]'], [string amzDate], [string dateStamp])
Generates a version 2 signature and returns headers for the request. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Creates a new instance of the utility for generating signatures using the supplied settings
Method Detail |
---|
NSA SHA-1 Algorithm: RFC 2104HMAC-SHA1
signKey
signMessage
Generates a version 2 signature and returns headers for the request
requestMethod
- - Request operation, ie PUT, GET, POST, etcetera.hostName
requestURI
- - Absolute path of the URI. Portion of the URL after the host, to the "?" beginning the query stringrequestBody
requestHeaders
- - Structure of http headers for used the request.requestParams
- - Structure containing any url parameters for the request.accessKey
secretKey
regionName
serviceName
signedPayload
excludeHeaders
amzDate
dateStamp