While no one can guarantee you didn't infect him, assuming you are positive, the encounter you describe was probably brief enough that it is unlikely you would have transmitted your infection to him, assuming you are positive.
In addition, if you are truly infected, you have an absolute moral and ethical obligation to inform any and all partners about your infection before any contact takes place.