It seems to go in the same direction.
I have a CMS-file(PKCS7) that was created while signing with a =
smartcard. It also holds a X509 certificate with the public key of the =
signer. And it also holds the signature.
Maybe you could tell me more details so I can try if this would help

Frank Wockenfu=DF
=20

> -----Urspr=FCngliche Nachricht-----
> Von: owner-openssl-users@openssl.org=20
> [mailtowner-openssl-users@openssl.org] Im Auftrag von=20
> sunil.kumarvvn@wipro.com
> Gesendet: Mittwoch, 19. M=E4rz 2008 11:37
> An: openssl-users@openssl.org
> Betreff: RE: Getting Signature and Signaturetime out of PKCS7 Object
>=20
> Guess implemented this scenario in one of my project.
> In that project we were using x509 certificates and got the=20
> signature data and the what kind of algorithm they are using=20
> to encrypt the messages.
> And the function X509_signature_print is used to get this data.
>=20
> If u'r problem is on the same line, please let me know I will=20
> give more details about this.
>=20
> Sunil
>=20
> -----Original Message-----
> From: owner-openssl-users@openssl.org=20
> [mailtowner-openssl-users@openssl.org] On Behalf Of Wockenfu=DF, =

Frank
> Sent: Wednesday, March 19, 2008 3:35 PM
> To: openssl-users@openssl.org
> Subject: AW: Getting Signature and Signaturetime out of PKCS7 Object
>=20
> No, not the algortihm. The created signature content, the=20
> data I need for verification.
>=20
> BTW, I've just found a way to get the signing time out of the=20
> PKCS7-object.
>=20
> Frank Wockenfu=DF
> =20
>=20
> > -----Urspr=FCngliche Nachricht-----
> > Von: owner-openssl-users@openssl.org
> > [mailtowner-openssl-users@openssl.org] Im Auftrag von=20
> > sunil.kumarvvn@wipro.com
> > Gesendet: Mittwoch, 19. M=E4rz 2008 10:36
> > An: openssl-users@openssl.org
> > Betreff: RE: Getting Signature and Signaturetime out of PKCS7 Object
> >=20
> > Is signature means signature algoritham?
> >=20
> > -----Original Message-----
> > From: owner-openssl-users@openssl.org=20
> > [mailtowner-openssl-users@openssl.org] On Behalf Of=20

> Wockenfu=DF, Frank
> > Sent: Wednesday, March 19, 2008 2:48 PM
> > To: openssl-users@openssl.org
> > Subject: Getting Signature and Signaturetime out of PKCS7 Object
> >=20
> > Hi,
> >=20
> > I have a problem getting some values out of a PKCS#7-file.
> >=20
> > I try to write a program that reads out some values from=20

> the file. The=20
> > PKCS7-file has the NID NID_pkcs7_signed and I have found=20

> the functions=20
> > to call for the hasalgorithmname and the certificates.
> > But I haven't found any to get the information about the time, the=20
> > signature was created and the signature itself, that was put inside=20
> > the file.
> >=20
> > Please can anyone give me some hints or code examples, what=20

> I need to=20
> > do to get these informations.
> >=20
> > I have a filled PKCS7-object.
> >=20
> > Frank Wockenfu=DF
> >=20

> __________________________________________________ ____________________
> > OpenSSL Project =20

> http://www.openssl.org
> > User Support Mailing List =20

> openssl-users@openssl.org
> > Automated List Manager =20

> majordomo@openssl.org
> >=20
> > The information contained in this electronic message and any=20
> > attachments to this message are intended for the exclusive=20

> use of the=20
> > addressee(s) and may contain proprietary, confidential or=20

> privileged=20
> > information. If you are not the intended recipient, you should not=20
> > disseminate, distribute or copy this e-mail. Please notify=20

> the sender=20
> > immediately and destroy all copies of this message and any=20
> > attachments.
> >=20
> > WARNING: Computer viruses can be transmitted via email. The=20

> recipient=20
> > should check this email and any attachments for the presence of=20
> > viruses. The company accepts no liability for any damage=20

> caused by any=20
> > virus transmitted by this email.
> >=20
> > www.wipro.com
> >=20
> >=20

> __________________________________________________ ____________________
> > OpenSSL Project =20

> http://www.openssl.org
> > User Support Mailing List =20

> openssl-users@openssl.org
> > Automated List Manager =20

> majordomo@openssl.org
> >=20

> __________________________________________________ ____________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List openssl-users@openssl.org
> Automated List Manager majordomo@openssl.org
>=20
> The information contained in this electronic message and any=20
> attachments to this message are intended for the exclusive=20
> use of the addressee(s) and may contain proprietary,=20
> confidential or privileged information. If you are not the=20
> intended recipient, you should not disseminate, distribute or=20
> copy this e-mail. Please notify the sender immediately and=20
> destroy all copies of this message and any attachments.=20
>=20
> WARNING: Computer viruses can be transmitted via email. The=20
> recipient should check this email and any attachments for the=20
> presence of viruses. The company accepts no liability for any=20
> damage caused by any virus transmitted by this email.
>=20
> www.wipro.com
>=20
> __________________________________________________ ____________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List openssl-users@openssl.org
> Automated List Manager majordomo@openssl.org
>=20

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org