agoravoting / referendum15oct

Referendum 15 de Octubre
http://www.referendum15deoctubre.org/
4 stars 0 forks source link

Verify DNIe #3

Closed voodoorai2000 closed 13 years ago

voodoorai2000 commented 13 years ago

We need to make sure that the DNIe is valid, for that we need to check that it's current state is good (not revoked or invalid), and that the authority that has issued the certificate is valid.

Herei is an example code in JAVA http://forja.cenatic.es/docman/view.php/160/1196/archivos_ejemplo_ocsp_java.zip

voodoorai2000 commented 13 years ago

Note: This should be done in the server side, not in the client side applet. As someone could skip the applet and send us a vote encrypted with an invalid DNIe.

voodoorai2000 commented 13 years ago

Done, pending commit from Edulix