Webservices Security

Hi,
I would like to know about how to implement webservices security using certificates.
Please provide any samples or pointers regarding the same.