Re: Decryption using public key

2007-10-23 Thread Robert Relyea
Wan-Teh Chang wrote: On 10/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Well, contrary to my expectations, I have now got the code working with PK11_PubEncryptRaw - so again a big thank you. Glad to hear that. If after you decrypt the data with the RSA public key, you check fo

Re: Decryption using public key

2007-10-23 Thread Wan-Teh Chang
On 10/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Well, contrary to my expectations, I have now got the code working > with PK11_PubEncryptRaw - so again a big thank you. Glad to hear that. If after you decrypt the data with the RSA public key, you check for PKCS #1 padding and decod

Re: Decryption using public key

2007-10-23 Thread alan . morris
On 19 Oct, 22:31, "Wan-Teh Chang" <[EMAIL PROTECTED]> wrote: > On 19 Oct 2007 13:17:53 -0700, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > I know that you suggest PK11_PubEncryptRaw but I am trying to > > decrypt. > > You are trying to verify an RSA signature (by decrypting it with the >

Re: PKCS12 problem with JSS (more info again)

2007-10-23 Thread David Stutzman
I did a lot of playing around yesterday. I added a note to the bug showing where the 16 byte salt is set as a #define and used no matter what algorithm is passed in from JSS. Unfortunately that didn't help out with decrypting the key. What I have determined is that if JSS creates an EPKI stru

client authentication problem in Ubuntu

2007-10-23 Thread Abraham
Hi all, I'm using an applet to sign digital documents. The applet code uses jss classes and can load firefox keystore without problems configuring user system as this reference explains: http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/keystores.html The problem appears if i