You mean a culture of PCR test on a swab. A visual diagnosis of a punch biopsy is not accurate for a specific HSV diagnosis.
Shingles and HSV1 are entirely different viruses.
Unless you had direct rubbing to a herpes lesion, you would not contract HSV1.
The Herpetic Whitlow developed on my mothers left thumb and was diagnosed with a biopsy done by her primary care physician.
I'm sure you are fine. You need to come into contact for these viruses to spread.
It would be unusual to see a case of whitlow. Where was it and how diagnosed?