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
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
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
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
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
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
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
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
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!
_
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
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
11 matches
Mail list logo