Hi:

In crypto/pkcs7 directory there are four programs to do that.(At least in my
distribution).You�ll have to compile and link them with libcrypto or
libeay32.lib .

enc.c -> To create envelope
dec.c -> To read it.
sinc.c -> To sign it.
verify.c -> (guess :-)

Hope this helps.


>Hi
>
>I have a private key (PEM), certificate/root certificate (DER) and a small
>text: "This is a test".
>Using PKCS#7, I would like to make a small test program, where I sign the
>text with the private key, write this PKCS#7 object to a file, read the
file
>again and then verify the signature.
>
>Could anyone please tell me which OpenSSL functions I must use to
accomplish
>that and in what order they must be called.
>
>Feel free to tell me to RTFM, if it is in there somewhere......I just
>couldn't find it :-)
>
>TIA
>Kim Hellan
>
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org
>Development Mailing List                       [EMAIL PROTECTED]
>Automated List Manager                           [EMAIL PROTECTED]
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to