@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | * |
| 228 | 228 | * @throws \Exception |
| 229 | 229 | * |
| 230 | - * @return \Jose\Object\JWSInterface |
|
| 230 | + * @return string |
|
| 231 | 231 | */ |
| 232 | 232 | protected function createJWS($encoded_protected_header, $encoded_payload, $protected_header, $unprotected_header, $payload, $signature) |
| 233 | 233 | { |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | * @param array $header |
| 253 | 253 | * @param \Jose\Object\JWKInterface $key |
| 254 | 254 | * |
| 255 | - * @return \Jose\Algorithm\Signature\SignatureInterface|null |
|
| 255 | + * @return SignatureInterface |
|
| 256 | 256 | */ |
| 257 | 257 | protected function getAlgorithm(array $header, JWKInterface $key) |
| 258 | 258 | { |
@@ -334,7 +334,7 @@ discard block |
||
| 334 | 334 | * @param string $cek |
| 335 | 335 | * @param \Jose\Algorithm\ContentEncryption\ContentEncryptionInterface $content_encryption_algorithm |
| 336 | 336 | * |
| 337 | - * @return \Jose\Object\JWEInterface |
|
| 337 | + * @return boolean |
|
| 338 | 338 | */ |
| 339 | 339 | protected function decryptPayload(JWEInterface &$jwe, $cek, $content_encryption_algorithm) |
| 340 | 340 | { |