Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ShaHmac1Signature extends Signature implements SignatureInterface |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @return string |
||
15 | */ |
||
16 | 66 | public function getMethod() |
|
17 | { |
||
18 | 66 | return 'HMAC-SHA1'; |
|
19 | } |
||
20 | |||
21 | /** |
||
22 | * @return string |
||
23 | */ |
||
24 | 64 | public function getType() |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | 66 | public function getVersion() |
|
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param string $string |
||
39 | * @param string $accessKeySecret |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | 66 | public function sign($string, $accessKeySecret) |
|
48 |