On Tue, Feb 15, 2011, Torsten Weber wrote:

> Hello,
> 
> I have written a dynamic engine that implements digest algorithms.
> The engine got an entry in the openssl.conf file to make it replace
> the default digest implementation:
> ./openssl dgst -sha1 my_file.dat
> 
> I also added support for some command-line parameters in the engines
> code. Now I want to know how I can pass arguments to the engine.
> Something like this:
> ./openssl dgst -engine my_engine -pre "MY_PARAMETER:value" -sha1 my_file.dat
> 
> If I am inside the OpenSSL prompt I can do that, e.g.:
> ./openssl
> engine -vvvv -c -t my_engine -pre "MY_PARAMETER:value"
> dgst -engine my_engine -sha1 my_file.dat
> 
> I would like to know if it is possible to pass arguments to the
> engine without entering the OpenSSL prompt.
> 

It can be done in the openssl.cnf file but not in general for all
openssl utility subcommands.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to