I would like to know whether the following is correct:
Someone is knocking on your door.
Who could it be?
As far as I know, modal verbs do not change its form in reported speech:
He asked who it could be.
After the knocking on the door has finished, you ask yourself:
Who could it have been?
Do I get it correctly?