| 1 | <?php |
||
| 25 | class Util |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * Provides the current timestamp according to the requirements of amazon |
||
| 29 | * |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | 3 | public static function getTimeStamp() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Provides the signature |
||
| 39 | * |
||
| 40 | * @param string $stringToSign The string to be signed |
||
| 41 | * @param string $secretKey The paapi secret key |
||
| 42 | * |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 3 | public static function buildSignature($stringToSign, $secretKey) |
|
| 49 | } |
||
| 50 |