Re: PKCS#11: C_Sign provides invalid signature

2010-10-16 Thread Nelson B Bolyard
On 2010-10-16 11:39 PDT, Matej Kurpel wrote: > On 16. 10. 2010 18:33, Nelson B Bolyard wrote: >> The SignData method you're trying to use does all the above steps. >> It wants the input to step 1. Since you're implementing CKM_RSA_PKCS, >> the data you're given is the input to step 3, the outpu

Re: PKCS#11: C_Sign provides invalid signature

2010-10-16 Thread Matej Kurpel
On 16. 10. 2010 18:33, Nelson B Bolyard wrote: On 2010-10-16 06:25 PDT, Matej Kurpel wrote: Hello, I am developing a PKCS#11 module to be used with Thunderbird. However, I have trouble providing a valid signature for e-mails. The mechanism used is CKM_RSA_PKCS and I have a 1024bit private ke

Re: PKCS#11: C_Sign provides invalid signature

2010-10-16 Thread Nelson B Bolyard
On 2010-10-16 06:25 PDT, Matej Kurpel wrote: > Hello, > I am developing a PKCS#11 module to be used with Thunderbird. However, I > have trouble providing a valid signature for e-mails. The mechanism used > is CKM_RSA_PKCS and I have a 1024bit private key along with the > certificate, stored on

PKCS#11: C_Sign provides invalid signature

2010-10-16 Thread Matej Kurpel
Hello, I am developing a PKCS#11 module to be used with Thunderbird. However, I have trouble providing a valid signature for e-mails. The mechanism used is CKM_RSA_PKCS and I have a 1024bit private key along with the certificate, stored on the token. The signature is generated in a C# .NET CF