Hi,
I am trying to encrypt a file using RC4 encryption algorithm. I am
calling SEC_PKCS7CreateEnvelopedData with SEC_OID_RC4 as the SECOidTag.
After successfully adding the certificate parameters , I get an error
message "security library: received bad data." from the function
SEC_PKCS7EncoderStart.
cinfo = SEC_PKCS7CreateEnvelopedData (cert,certUsageEmailRecipient,NULL,
SEC_OID_RC4 , 0, NULL, NULL);
Any help is appreciated.
<http://lxr.mozilla.org/security/ident?i=SECOidTag>
Thanks in advance,
Uday.
_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto