@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * @param \Jose\KeyConverter\RSAKey $key |
82 | 82 | * @param \Jose\Util\BigInteger $m |
83 | 83 | * |
84 | - * @return \Jose\Util\BigInteger|false |
|
84 | + * @return BigInteger |
|
85 | 85 | */ |
86 | 86 | private static function RSAEP(RSAKey $key, BigInteger $m) |
87 | 87 | { |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | * @param string $signature |
368 | 368 | * @param string $hash |
369 | 369 | * |
370 | - * @return bool |
|
370 | + * @return string |
|
371 | 371 | */ |
372 | 372 | public static function verify(RSAKey $key, $message, $signature, $hash) |
373 | 373 | { |
@@ -23,6 +23,10 @@ |
||
23 | 23 | */ |
24 | 24 | protected $ttl; |
25 | 25 | |
26 | + /** |
|
27 | + * @param string $filename |
|
28 | + * @param integer $ttl |
|
29 | + */ |
|
26 | 30 | public function __construct($filename, array $parameters, $ttl) |
27 | 31 | { |
28 | 32 | Assertion::integer($ttl); |