Zend Framework
1.12
|
Public Member Functions | |
generateSignature ($url, array &$parameters) | |
Generate the required attributes for the signature. | |
![]() | |
__construct ($accessKey, $secretKey, $apiVersion) | |
Constructor. | |
setAccessKey ($accessKey) | |
Set access key. | |
setSecretKey ($secretKey) | |
Set secret key. | |
setApiVersion ($apiVersion) | |
Set API version. | |
Protected Member Functions | |
_signParameters ($url, array &$paramaters) | |
Computes the RFC 2104-compliant HMAC signature for request parameters. | |
Protected Attributes | |
$_signatureVersion = '1' | |
Signature Version. | |
$_signatureMethod = 'HmacSHA256' | |
Signature Encoding Method. | |
![]() | |
$_accessKey | |
$_secretKey | |
$_apiVersion | |
|
protected |
Computes the RFC 2104-compliant HMAC signature for request parameters.
This implements the Amazon Web Services signature, as per the following specification:
1. Sort all request parameters (including SignatureVersion
and excluding Signature
, the value of which is being created), ignoring case.
2. Iterate over the sorted list and append the parameter name (in its original case) and then its value. Do not URL-encode the parameter values before constructing this string. Do not use any separator characters when appending strings.
string | $queue_url | Queue URL |
array | $parameters | the parameters for which to get the signature. |
generateSignature | ( | $url, | |
array & | $parameters | ||
) |
Generate the required attributes for the signature.
string | $url | |
array | $parameters |
|
protected |
Signature Encoding Method.
|
protected |
Signature Version.