doc the psk mechanism