Alexander Miro wrote:
Hi everyone,

Does anyone knows how to read/write digital certificates
in Mozilla's client certificate database (cert8.db) using the
Mozilla's API ?
from chrome, html, or XPCOM?

From html there are mime-types that you can specify as certificates to load into the database. The API's from a normal javascript page is specified in mozilla/dom/public/idl/base/nsIDOMCrypto.idl. You get to it from window.crypto.

From chrome or XPCOM you can use the above interface, or you can access the xpcom objectes in mozilla/security/manager/ssl/public/*.idl.

you can see these files  at http://lxr.mozilla.org/mozilla/

bob

I would greatly appreciate it if someone could send me
a code fragment.

Thanks,
Alexander Miro
Rio de Janeiro - Brazil

**********************************************************************
Informação transmitida destina-se apenas à pessoa a quem foi endereçada e pode 
conter informação confidencial, legalmente protegida e para conhecimento 
exclusivo do destinatário. Se o leitor desta advertência não for o seu 
destinatário, fica ciente de que sua leitura, divulgação ou cópia é 
estritamente proibida. Caso a mensagem tenha sido recebida por engano, favor 
comunicar ao remetente e apagar o texto de qualquer computador.


The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon this information, by person or entity other than the intended 
recipient is prohibited. If you received this in error, please contact the 
sender and delete the material from any computer.
**********************************************************************


_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to