Re: [openssl-users] Create a signed file from detached signature and clear file content

2017-12-26 Thread Antonio Iacono
Hi, I think I have solved. Maybe you can write better and in fewer lines anyway this attached code works. Antonio 2017-12-20 11:07 GMT+01:00 Antonio Iacono : > > Hi, > assuming I have the following: > - data.txt > - data.p7s (the detached signature) > > Can I generate the

[openssl-users] Fwd: Create a signed file from detached signature and clear file content

2017-12-20 Thread Antonio Iacono
Hi, assuming I have the following: - data.txt - data.p7s (the detached signature) Can I generate the bundled (p7m) signed file ? I tried: content = BIO_new_file("data.txt", "rb"); signature = BIO_new_file("data.p7s", "rb"); p7 = d2i_PKCS7_bio(signature, N

Verify a PKCS7 detached signature

2010-04-23 Thread JG Disenador Multimedia
Hello, I would like to verify a pkcs7 signature from a document, is pkcs7 detached signature. I have extracted form the document, the signature is a very long hexadecimal string. I used this command but the I get a verification failure. openssl dgst -verify -sha1

AW: Detached Signature

2007-07-30 Thread Wockenfuß , Frank
I will try it and ask again if there are more questions. Thank you Frank Wockenfuß _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Hien Truong Thu Gesendet: Montag, 30. Juli 2007 13:32 An: openssl-users@openssl.org Betreff: Re: Detached Signature Hi, Yes, you

Re: Detached Signature

2007-07-30 Thread Hien Truong Thu
n:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *Im Auftrag von *Hien Truong Thu > *Gesendet:* Montag, 30. Juli 2007 12:37 > *An:* openssl-users@openssl.org > *Betreff:* Re: Detached Signature > > You should see the example sign.c in openssl crypto lib. detached > signature can be

AW: Detached Signature

2007-07-30 Thread Wockenfuß , Frank
2007 12:37 An: openssl-users@openssl.org Betreff: Re: Detached Signature You should see the example sign.c in openssl crypto lib. detached signature can be saved in PKCS7 format. Good luck! Hien TTT On 7/30/07, Wockenfuß, Frank <[EMAIL PROTECTED]> wrote: Hello eve

Re: Detached Signature

2007-07-30 Thread Hien Truong Thu
You should see the example sign.c in openssl crypto lib. detached signature can be saved in PKCS7 format. Good luck! Hien TTT On 7/30/07, Wockenfuß, Frank <[EMAIL PROTECTED]> wrote: > > Hello everybody, > > I want to save a detached signature and I don't know what struct

Detached Signature

2007-07-30 Thread Wockenfuß , Frank
Hello everybody, I want to save a detached signature and I don't know what structure to use and how to fill it. The signature is created by a smartcardterminal and I want to save it in a standardized way for later verification. Any suggestions? Frank Wock

Re: How to verify a pkcs7 detached signature?

2005-07-15 Thread Andreas Hasenack
On Fri, Jul 15, 2005 at 08:22:10AM +0200, Pablo J Royo wrote: > Try this > > openssl smime -verify -in Assinador.tar.gz.pkcs7 -inform DER -content > Assinador.tar.gz -signer signer_certificate.pem -noverify That works, thanks! _

Re: How to verify a pkcs7 detached signature?

2005-07-14 Thread Pablo J Royo
a pkcs7 detached signature? > 1. http://www.iti.br/twiki/pub/Main/PressRelease2005Jun28A/Assinador.tar.gz > 2. http://www.iti.br/twiki/pub/Main/PressRelease2005Jun28A/Assinador.tar.gz.pkc s7 > > [2] is supposed to be a detached signature for [1], how can this be > verified with an

How to verify a pkcs7 detached signature?

2005-07-14 Thread Andreas Hasenack
1. http://www.iti.br/twiki/pub/Main/PressRelease2005Jun28A/Assinador.tar.gz 2. http://www.iti.br/twiki/pub/Main/PressRelease2005Jun28A/Assinador.tar.gz.pkcs7 [2] is supposed to be a detached signature for [1], how can this be verified with an openssl command? I was able to extract the