Hello,
I've been trying to compile the code bellow to manipulate
the certificates in Mozila's certificate database, however
I'm very confused about some points:
1) What library, sdk, etc is it necessary (gecko, nspr, nss...)
by a program to access Mozilla's certificates database ?
2) Should I build any of these libraries with special parameter?
3) With regard to the code bellow, what are the g++ parameters?
---> Code fragment ...
nsCOMPtr<nsIServiceManager> certdb;
nsresult rv = NS_GetServiceManager(getter_AddRefs(certdb));
if (NS_FAILED(rv))
return -1;
nsCOMPtr<nsIX509CertDB> myHandle;
rv = certdb->GetServiceByContractID("@mozilla.org/security/x509certdb",
NS_GET_IID(nsIX509CertDB),
getter_AddRefs(myHandle));
<--- Code fragment
Thanks
Alex
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-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom