@@ -90,7 +90,7 @@ |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
93 | - * @return \phpseclib\Crypt\RSA |
|
93 | + * @return JoseRSA |
|
94 | 94 | */ |
95 | 95 | private function getRsaObject() |
96 | 96 | { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * |
51 | 51 | * As set by the constructor or by the setHash() method. |
52 | 52 | * |
53 | - * @return string |
|
53 | + * @return integer |
|
54 | 54 | */ |
55 | 55 | public function getHash() |
56 | 56 | { |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * Converts base-10 and binary strings (base-256) to BigIntegers. |
27 | 27 | * |
28 | - * @param mixed $value base-10 number or base-$base number if $base set. |
|
28 | + * @param integer $value base-10 number or base-$base number if $base set. |
|
29 | 29 | * @param int $base |
30 | 30 | */ |
31 | 31 | private function __construct($value = 0, $base = 10) |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * |
162 | 162 | * @param \Jose\Util\BigInteger $y |
163 | 163 | * |
164 | - * @return \Jose\Util\BigInteger[] |
|
164 | + * @return BigInteger[] |
|
165 | 165 | * |
166 | 166 | */ |
167 | 167 | public function divide(BigInteger $y) |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * @param \Jose\Util\BigInteger $e |
182 | 182 | * @param \Jose\Util\BigInteger $n |
183 | 183 | * |
184 | - * @return \Jose\Util\BigInteger|bool |
|
184 | + * @return BigInteger |
|
185 | 185 | */ |
186 | 186 | public function modPow(BigInteger $e, BigInteger $n) |
187 | 187 | { |
@@ -1038,7 +1038,7 @@ discard block |
||
1038 | 1038 | * @param string $m |
1039 | 1039 | * @param int $emBits |
1040 | 1040 | * |
1041 | - * @return bool |
|
1041 | + * @return false|string |
|
1042 | 1042 | */ |
1043 | 1043 | private function _emsa_pss_encode($m, $emBits) |
1044 | 1044 | { |
@@ -1075,7 +1075,7 @@ discard block |
||
1075 | 1075 | * @param string $em |
1076 | 1076 | * @param int $emBits |
1077 | 1077 | * |
1078 | - * @return string |
|
1078 | + * @return boolean |
|
1079 | 1079 | */ |
1080 | 1080 | private function _emsa_pss_verify($m, $em, $emBits) |
1081 | 1081 | { |
@@ -1144,7 +1144,7 @@ discard block |
||
1144 | 1144 | * @param string $m |
1145 | 1145 | * @param string $s |
1146 | 1146 | * |
1147 | - * @return string |
|
1147 | + * @return boolean |
|
1148 | 1148 | */ |
1149 | 1149 | private function _rsassa_pss_verify($m, $s) |
1150 | 1150 | { |
@@ -1319,7 +1319,7 @@ discard block |
||
1319 | 1319 | * |
1320 | 1320 | * @param string $key optional |
1321 | 1321 | * |
1322 | - * @return bool |
|
1322 | + * @return boolean|null |
|
1323 | 1323 | */ |
1324 | 1324 | private function setPublicKey($key = false) |
1325 | 1325 | { |