Hello all. I am in need of help with the following problem: SEC_PKCS12DecoderVerify failing with a return code of SEC_ERROR_PKCS12_INVALID_MAC (-8113)
I've written a small test application to reproduce the problem. The application reads in a certificate, and creates SMIME enveloped data, and encrypts a message. It then reads in a private key wrapped in a pkcs12 object, and attempts to decrypt the message. The problem is with the PKCS12 Decoder. I can successfully create a decoder and update it with the pkcs12 that I've read in. However, the call to SEC_PKCS12DecoderVerify, is failing with a SEC_ERROR_PKCS12_INVALID_MAC return code. I must be doing something wrong here. Can someone please help??? I am using NSS 3.9 and NSPR 4.4.1. Attached is the zipped up test code, created with MSVC 6.0. Thanks, Mike -Mike Cohen Pingtel, Corp. 1-781-938-5306, ext 115 1-781-724-9453 - cell [EMAIL PROTECTED]
<<attachment: winmail.dat>>
