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 decode an ASN.1 DigestInfo structure to get the hash (message digest), then you can replace all this code with PK11_Verify or PK11_VerifyRecover. Wan-Teh _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto