@@ -32,7 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param Key $management_key |
| 35 | - * @param $key_management_mode |
|
| 35 | + * @param string $key_management_mode |
|
| 36 | 36 | * @param ContentEncryptionAlgorithm $enc |
| 37 | 37 | * @return Key |
| 38 | 38 | * @throws \Exception |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | final class IVFactory { |
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | - * @param $size |
|
| 26 | + * @param integer $size |
|
| 27 | 27 | * @return string |
| 28 | 28 | */ |
| 29 | 29 | static public function build($size){ |
@@ -144,7 +144,7 @@ |
||
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | 146 | * @param PrivateKey $private_key |
| 147 | - * @return IAsymmetricJWK|null |
|
| 147 | + * @return RSAJWK |
|
| 148 | 148 | * @throws InvalidJWKType |
| 149 | 149 | */ |
| 150 | 150 | static public function fromPrivateKey(PrivateKey $private_key) |