public decryptUsingKey ( Jose\Object\JWEInterface &$input, Jose\Object\JWKInterface $jwk, null | integer &$recipient_index = null ) | ||
$input | Jose\Object\JWEInterface | A JWE object to decrypt |
$jwk | Jose\Object\JWKInterface | The key used to decrypt the input |
$recipient_index | null | integer | If the JWE has been decrypted, an integer that represents the ID of the recipient is set |