Danny Joseph
2003-08-04 16:54:52 UTC
I am new in the openssl world so my questions migth be basic.
I have a binary code file that I have to sign (using a private key and one
or more certificat).
It has to be PKCS#7(SHA1 with RSA encryption) DER encoded Signed Data.
1- I have to create a PKCS#7 data message from my binary file.
2- Sign this last PKCS#7 file -> In my signed data, there will be
one (or more) certificats along with their Signing Info. I need to put a
signing time as well.
There is the pkcs7 to create a PKCS#7 fiel from my binary file but it has
to be PEM or DER input.
Then, there is the crl2pkcs7 function to add certificats to the PKCS#7
file, without crl in my case.
Then, I have to sign the whole thing with a SigningTime. I read on the
x509(1) function along with the req.
I saw rsault as well as dgst(1) but I am a little bit lost in all those
functions and their differences.
Any suggestions to help me through this
Tx
Danny Joseph
Electroline Equipment Inc, Montreal
* Tel: (514) 374-6204 #447
* Fax: (514) 374-8901
______________________________________________________________________I have a binary code file that I have to sign (using a private key and one
or more certificat).
It has to be PKCS#7(SHA1 with RSA encryption) DER encoded Signed Data.
1- I have to create a PKCS#7 data message from my binary file.
2- Sign this last PKCS#7 file -> In my signed data, there will be
one (or more) certificats along with their Signing Info. I need to put a
signing time as well.
There is the pkcs7 to create a PKCS#7 fiel from my binary file but it has
to be PEM or DER input.
Then, there is the crl2pkcs7 function to add certificats to the PKCS#7
file, without crl in my case.
Then, I have to sign the whole thing with a SigningTime. I read on the
x509(1) function along with the req.
I saw rsault as well as dgst(1) but I am a little bit lost in all those
functions and their differences.
Any suggestions to help me through this
Tx
Danny Joseph
Electroline Equipment Inc, Montreal
* Tel: (514) 374-6204 #447
* Fax: (514) 374-8901
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+***@public.gmane.org
Automated List Manager majordomo-MCmKBN63+***@public.gmane.org