Principle
bifanai nichtav u-vfanai nechtamבְּפָנַי נִכְתַּב וּבְפָנַי נֶחְתָּם
be-fa-NAI nich-TAV u-ve-fa-NAI nech-TAM
"written and signed before me"
The declaration an agent makes when delivering a get from overseas: "it was written in my presence and signed in my presence." It vouches that the document was both written for the woman's sake (lishmah) and validly signed, substituting for ordinary verification of the witnesses when those witnesses are far away.
Where it comes up
1 mishnah