jm4c / SEC-file-server

0 stars 0 forks source link

Certificate validation #2

Closed RicardoFonsecaSilva closed 8 years ago

RicardoFonsecaSilva commented 8 years ago

Transcript from the FAQ:

Make sure the key was generated by a trusted authority. The information about these authorities can be stored in the blockserver.

https://pki.cartaodecidadao.pt/publico/certificado/cc_ec_cidadao/

You can use the Java Certification Path (JCP) library, which is included in the JSE (but there are many alternative libraries; another popular one is the Certification Path library).

Here you find the documentation of the whole JCP library:

http://docs.oracle.com/javase/7/docs/technotes/guides/security/certpath/CertPathProgGuide.html

The most relevant classes are:

Here you can find also the Certificate Revocation Lists:

https://pki.cartaodecidadao.pt/publico/lrc/

Some publicly available JAVA code examples:

jm4c commented 8 years ago

Sorry taking so long on this issue... @RicardoFonsecaSilva @wefbak

By the way, I opened issue #14 but I'm not sure I can do it until the delivery deadline. Would appreciate help. :zzz: