I'm having difficulties understanding exactly what this protocol means:
$S \to D : \{N_S , S\}K_D$
$D \to S : \{N_S , N_D \}K_S$
$S \to D : \{N_D \}K_D$
"where $S$ represents the supervisor’s console and $D$ represents the door controller and the other symbols have their usual security protocol meanings."
I understand $N$ to be a nonce, a randomly generated number/hash that will only be used once.
I'm assuming $K$ is the public key?
Could someone explain this protocol for me, I’ve looked everywhere and cannot find anything like this.