--Antonio
Andrés Espallardo ([EMAIL PROTECTED])Dept. Ingeniería de la Información y las ComunicacionesFacultad
de InformáticaUniversidad de
Murcia--
Hi everybody. I explain my problem with
PKCS7_encrypt(). I have a message in ASN1 converted to DER, which I need first
to sign it and after that, envelop the PKCS7 obtained. That is, I sign the
message, obtaining a PKCS7. Well, there is no problemto obtain the
original data from the signed
But, If I use first the PKCS7_sign() function and after that I use
PKCS7_encrypt(), then how do I obtain after the original data?. That is, I
use PKCS7_decrypt() to obtain the signed message in a bio (out), and after
that I'm doing the next:
PKCS7 *signed_content=PKCS7_new();
from that PKCS7
signed_content?. Thanks
- Original Message -
From: Dr. Stephen Henson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 5:59 PM
Subject: Re: Error signing a message
On Tue, May 18, 2004, Antonio Andrés Espallardo wrote:
Hi everybody. I'm having some
Hi everybody.In my program I make a pkcs7_sign on a
ASN1 message, and after that I apply a pkcs7_encrypt onthe
signedmessage. When I try the inverse process, the pkcs7_decrypt function
decrypt the content from the PKCS#7
envelopedData structureand store it in a BIO data.
My problem is how
Hi. Could anyone help me? I'm obtaining an error
when I try to sign an ASN1message with PKCS7_sign:
/***//*This
is the ASN1 message I need to sign*/ASN1NegotiationRequest
*prueba=nr-toASN1Object();
Util *util =
Thanks a lot. It was what you commentted. I added
add_all_algorithms() and went
well.Thanks again.
Hi everybody. I have a question to do. I'm
developing an aplicattion wich uses certificates in der format and private key
files in PKCS#1 format. I need to read a private key file in PKCS#1 format .
Does anyone know some function to read that file and obtain the private
key in a EVP_PKEY