Hi,

I've been looking for this info every where, and it seems that not
many people tried/succeeded in doing the following :

1) sign data from netscape with window.crypto.signtext()
2) Parse and verify the pkcs7 message obtained...


I've tried almost everything for 2 days to be able to parse the base64
encoded #pkcs7 data obtained by crypto.signtext(). (Base64 decoding &
parsing, parsing & base64decoding, parsing only...)

But I can't get the ContentInfo data to be parsed correctly. I can get
a ContentType , but I don't know if it is something real or dumb info.

For information on the crypto.signtext() method and the format of the
resultstring, look there :

http://developer.netscape.com/docs/manuals/security/sgntxt/contents.htm


I think it should be easy (?) to get this info and to be able to
verify it (because that's the point, verify the signature...), as with
packages like iaik it's possible. I think there's something with
encoding/decoding problem, but I can't catch it...


Any clue is welcome, because I'm really stuck :(
Furthermore, as  it seems the only method for signing data (in forms),
it would be nice to have working examples somewhere...


Thanks,

Irwin

Reply via email to