@@ -95,8 +95,8 @@ |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @return int |
|
99 | - */ |
|
98 | + * @return int |
|
99 | + */ |
|
100 | 100 | public function getVisibility() |
101 | 101 | { |
102 | 102 | return $this->visibility; |
@@ -305,11 +305,11 @@ |
||
305 | 305 | } |
306 | 306 | |
307 | 307 | /** |
308 | - * @param IJOSEHeader $header |
|
309 | - * @param IJWSPayloadSpec $payload |
|
310 | - * @param string $signature |
|
311 | - * @return IJWS |
|
312 | - */ |
|
308 | + * @param IJOSEHeader $header |
|
309 | + * @param IJWSPayloadSpec $payload |
|
310 | + * @param string $signature |
|
311 | + * @return IJWS |
|
312 | + */ |
|
313 | 313 | static public function fromHeaderClaimsAndSignature(IJOSEHeader $header, IJWSPayloadSpec $payload = null , $signature = '') |
314 | 314 | { |
315 | 315 | return new JWS($header, $payload, $signature ); |
@@ -90,10 +90,10 @@ |
||
90 | 90 | // MAC_KEY = initial MAC_KEY_LEN octets of K |
91 | 91 | $mac_key = substr($key, 0, $mac_key_len); |
92 | 92 | /** |
93 | - * The octet string AL is equal to the number of bits in the |
|
94 | - * Additional Authenticated Data ($aad) expressed as a 64-bit unsigned |
|
95 | - * big-endian integer |
|
96 | - */ |
|
93 | + * The octet string AL is equal to the number of bits in the |
|
94 | + * Additional Authenticated Data ($aad) expressed as a 64-bit unsigned |
|
95 | + * big-endian integer |
|
96 | + */ |
|
97 | 97 | $al = ByteUtil::convert2UnsignedLongBE(strlen($aad) * 8); |
98 | 98 | // M = MAC(MAC_KEY, A || IV || E || AL) |
99 | 99 | $secured_input = implode('', array( |