Has antibacterial activity against the Gram-negative bacteria E.coli. May play a role in sperm maturation and fertilization. Probably secreted into the epididymis lumen, where it localizes to the outer surface of sperm. Specifically localizes to the postacrosomal and tail regions of sperm. Belongs to the cystatin family.