The specification of the g3p protocol