Re: Problem selecting signing certifica te in Thunderbird. It´s a UTF-8 codificat ion issue?

2007-05-10 Thread j.fabre
Hi, thank you for your help, I solved this using ASN1_STRING_to_UTF8 Openssl function. Regards. Nelson Bolyard escribió: > j.fabre wrote: > > >> The common name´s length si 51, and there are the hexadecimal print of >> the commonName : >> > > [sn

Re: Problem selecting signing certifica te in Thunderbird. It´s a UTF-8 codificat ion issue?

2007-05-10 Thread j.fabre
-->R> <4f -->O> <20 --> > <46 -->F> <52 -->R> <41 -->A> <4e -->N> <43 -->C> <49 -->I> <53 -->S> <43 -->C> <4f -->O> <20 --> > <4a -->J> <4f -->O> <53 -->

Re: Problem selecting signing certifica te in Thunderbird. It´s a UTF-8 codificat ion issue?

2007-05-10 Thread j.fabre
with special UTF-8 chars in its CKA_LABEL. The certificate I´m using has the proper attributes in order to mail signing. Thanks. Nelson Bolyard escribió: > j.fabre wrote: > >> Hi all, >> >> I´m trying to configure a user certificate for mail signing purposes in >&g

Re: Problem selecting signing certifica te in Thunderbird. It´s a UTF-8 codificat ion issue?

2007-05-09 Thread j.fabre
the certificate´s common name char array? I recover this char array using Openssl´s function X509_NAME_get_text_by_NID. Regards. j.fabre escribió: > Hi all, > > I´m trying to configure a user certificate for mail signing purposes in > Thunderbird (I´ve tested it in 1.5 and 2.0 v

Problem selecting signing certificate in Thunderbird. It´s a UTF-8 codification issu e?

2007-05-09 Thread j.fabre
Hi all, I´m trying to configure a user certificate for mail signing purposes in Thunderbird (I´ve tested it in 1.5 and 2.0 versions with identical results). This certificate is stored in a smart card, and I access to it through a correctly installed PKCS11 module. The DN of my user certificate

Re: Issue reloading certificates from pkcs#11 devices

2007-04-23 Thread j.fabre
Hi Manuel, I had the same problem as you, and my answer at the moment is that I have no way to recover the certificates of a token plugged after initializing CryptoManager´s instance. On the other hand, I cannot get another "updated" Cryptomanager´s instance because it is already initialized (I

Re: JSS + Windows: UnsatisfiedLinkError

2007-04-23 Thread j.fabre
Hi Bruno, I put freebl3.dll jss4.dll jss4.jar libnspr4.dll libplc4.dll libplds4.dll nss3.dll nssckbi.dll smime3.dll softokn3.dll ssl3.dll inside "ROOT_UNIT":\WINDOWS\system32 directory and I had no problems. Since I used JSS from an applet, JSS JAR file was in the classpath, I added it from an

Re: api for getting mozilla db

2007-04-21 Thread j.fabre
Hi Jana, I had the same problem as you, and I solved this programming a method in an applet that searches manually for the Firefox´s profile directory in the hard disk (System.getProperty("user.home") + "/.mozilla/firefox" in Linux). Once I´m searching in this directory, i look for a directory

Re: Need to develope a Firefox plugin to generate PKCS#7 detached signatures ?

2007-03-12 Thread j.fabre
Hi, I´ve solved this problems in two ways, both using Java Applets: 1º- Creating an applet that uses JSS (Network Security Services for Java) to use keys and certificates stored on Mozilla Firefox´s certs store. 2º- Creating an applet which uses Sun PKCS#11 provider to access data stored on

Re: JSS: How to recover only certificates wich have an associated private key.

2007-03-02 Thread j.fabre
Yes!! I didn´t see this method, since I looked for it in PrivateKey and X509Certificate classes. Thanks a lot. Jesús el tuty. Dennis Sinelnikov wrote: CryptoManager's findPrivKeyByCert(X509Certificate cert) might do the trick. hth, Dennis j.fabre wrote: Hi all, I´m developing an a

JSS: How to recover only certificates wich have an associated private key.

2007-02-27 Thread j.fabre
Hi all, I´m developing an applet with JSS 4, my intentions are to access Firefox´s certs repositories and recover the user certificates, and among them, only show to the user the certificates which have a private key associated with. This is done, in order to user can select only certificates

Re: Problem with crypto.Signtext and A PKCS #9 signing time attribute

2007-02-19 Thread j.fabre
Hola Luis, la funcionalidad que necesitaría es obtener una firma digital PKCS#7 detached, sin atributos en la misma, usando uno de los certificados del navegador Firefox (independientemente de si están asociados a un módulo PKCS#11 o no). Estuve probando secclab, y observé que no era posible

Re: Problem configuring JSS with Firefox 2 and JRE 1.5.10

2007-02-12 Thread j.fabre
Hi David, ... but, ¿how could you explain that i´ve get it working on Windows, also using Firefox 2.0, and simply following configuration instruction I´ve found at the Sun´s and JSS pages? Regards. Jesús el tuty. David Stutzman escribió: j.fabre wrote: cargar: clase

Re: Problem configuring JSS with Firefox 2 and JRE 1.5.10

2007-02-12 Thread j.fabre
s soon as possible. https://bugzilla.mozilla.org/enter_bug.cgi?product=JSS thank you, glen j.fabre wrote: Hi all, I´m trying to configure JSS 4 and Firerfox in Ubuntu, but I cannot find the way to integrate both to use JSS for HTTPS client authentication. My intentions are use JSS access to Fire

Problem configuring JSS with Firefox 2 and JRE 1.5.10

2007-02-09 Thread j.fabre
Hi all, I´m trying to configure JSS 4 and Firerfox in Ubuntu, but I cannot find the way to integrate both to use JSS for HTTPS client authentication. My intentions are use JSS access to Firefox certificate´s repository for applet´s client authentication. I followed these instructions but don´t

Re: Firefox and CMS

2006-12-22 Thread j.fabre
Hi Richard, I´m glad to read you mail, it´s good to know that I´m not the only one stuck at this affair. I´m a newbie in Mozilla plugin development, that´s why I ask for how much effort could bring me to (learning to) develop a plugin to digitally sign from Firefox. The responses I received

Need to develope a Firefox plugin to generate PKCS#7 detached signatures ?

2006-12-12 Thread j.fabre
Hi all, I unforunately tried to find a solution to achieve PKCS#7 or CMS signature generation from Firefox, to a later XML-Signature conversion. I´ve analyzed several possible solutions: 1- Using crypto.signText() function: This function introduces additional attributes into the PKCS#7 signat

A possible solution to integrate crypto.Signtext PKCS #9 signing time attributes with XML-Signature ?

2006-12-11 Thread j.fabre
I call "on-line signing" which involves (as I see it) quite a bit more than producing XML DSig, because the document/view must be in there in some way. There are *many* ways to do that. All of them quite different :-( regards Anders Rundgren - Original Message - From: "j

Re: Problem with crypto.Signtext and A PKCS #9 signing time attribute

2006-12-05 Thread j.fabre
s as well, like the URI of the requester. A signature without any environmental attributes (context) seems a bit "naked" in my opinion. Anders Rundgren - Original Message - From: "j.fabre" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 05, 2006 19:15 Subject:

Problem with crypto.Signtext and A PKCS #9 signing time attribute

2006-12-05 Thread j.fabre
Hi all, I´m looking for a signing tool which allows me to sign a text in Mozilla Firefox (now I´m using version 2.0 of this browser). I found crypto.Signtext function, but this tool adds a PKCS#9 signing time attribute that I want to avoid. ¿Anyone knows how I could sign text, forms, etc from