Markus Isler wrote:
>
> Hi
>
> I'm using SSLeay 0.6.4 and I'm trying to verify a PKCS#7 of type
> SignedData. I generated a PKCS#7 SignedData using the crypto.signText
> method with Netscape Navigator 4.04 . From my pint of view I have to
> proceed the following steps:
>
Been there. Done that.
Seriously though this question does crop up from time to time. If you
use at least SSLeay 0.8.1 there are some "experimental" applications in
crypto/pkcs7 that almost do what you want. I posted a patch (long ago)
that fixed a bug in the implementation and allows PKCS#7 signatures to
be verified be they S/MIME, signed JAR or crypto.Signtext.
I sent some patches off to Eric which also allowed signatures to be
generated as well, though they didn't make it into 0.9.0 due to time
pressures (I presume).
I've also got a prototype full S/MIME implementation which handles the
enveloped (encrypted) modes as well.
Steve.
--
Dr Stephen N. Henson.
UK based freelance Cryptographic Consultant. For info see homepage.
Homepage: http://www.drh-consultancy.demon.co.uk/
Email: [EMAIL PROTECTED]
PGP key: via homepage.
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/ |
+-------------------------------------------------------------------------+