@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | * @param \Jose\KeyConverter\RSAKey $key |
| 66 | 66 | * @param \Jose\Util\BigInteger $m |
| 67 | 67 | * |
| 68 | - * @return \Jose\Util\BigInteger|false |
|
| 68 | + * @return BigInteger |
|
| 69 | 69 | */ |
| 70 | 70 | private static function _rsaep(RSAKey $key, BigInteger $m) |
| 71 | 71 | { |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | * @param int $emBits |
| 222 | 222 | * @param \Jose\Util\Hash $hash |
| 223 | 223 | * |
| 224 | - * @return string|bool |
|
| 224 | + * @return false|string |
|
| 225 | 225 | */ |
| 226 | 226 | private static function _emsa_pss_encode($m, $emBits, Hash $hash) |
| 227 | 227 | { |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | * @param string $signature |
| 390 | 390 | * @param string $hash |
| 391 | 391 | * |
| 392 | - * @return bool |
|
| 392 | + * @return string |
|
| 393 | 393 | */ |
| 394 | 394 | public static function verify(RSAKey $key, $message, $signature, $hash) |
| 395 | 395 | { |