Hi, Yes, you need to use a private key to create a PKCS7 signature. Beside, you need to create a certificate which corresponding to your privkey, then this cert will be used to verify your signature. You can use Openssl command line to create key and cert
Hien TTT On 7/30/07, Wockenfuß, Frank <[EMAIL PROTECTED]> wrote: > > Hi, > thanks for the hint. > Do I always need to use a private key to create a PKCS7 format? > If yes, how do I decrypt the PKCS7 format on the verification side? > > Frank Wockenfuß > > > ------------------------------ > *Von:* [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 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 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 Wockenfuß > > ______________________________________________________________________ > > OpenSSL Project http://www.openssl.org > > User Support Mailing List openssl-users@openssl.org > > Automated List Manager [EMAIL PROTECTED] > > > >