Project example according with the blog post http://softwareisart.blogspot.com.br/2011/11/autenticacao-com-certificados-digitais.html