![]() |
TrustPort eSign PRO: Command Line - Configuration file contentsUsing the configuration file Using the configuration file you can save some options. It is possible to use them as default possibilities unless you specified them in other way by commandline parameters. You can use your own configuration file with parameter --inifile=filename , e.g. esign --inifile=my.ini , default configuration file may be used by parameter -u or --useconfig . The configuration file is divided into sections USER , USAGE , OTHER and SEARCH . All sections and all items within them are optional and could be omitted. Section USER Contains information about the certificate owner:
You need to specify name and e-mail to have a reasonable information in certificate. Section USAGE Contains information about the usage of the certificate:
Section OTHER Contains other information:
Section SEARCH This section contains flags which affect the searching for certificates through patterns (parameter -O ), any of these flags might only be set to either 1 or 0:
If you use at least one of these parameters and you arbitrary omit another one, the behavior of application will be same as though the letter parameter was given with value 0. If none of these parameters is used so even if you used configuration file, the search will be performed by all of these parameters (default behaviour). An example of configuration file:
[USER]
COMMONNAME=192.168.0.207
ORGNAME=TrustPort, a.s.
ORGUNIT=Development
POSTADDR=Holandska 2, Brno
COUNTRY=cz
TLFNUMBER=123456789
EMAIL=info@trustport.com
[USAGE]
SIGNATURE=1
ENCRYPHERMENT=1
KEYAGREEMENT=1
SERVERAUTHENTICATION=1
CLIENTAUTHENTICATION=0
CODESIGNING=0
SECUREEMAIL=0
[OTHER]
MODE=into-storage
FILETYPE=BIN
NOPASSWORD=1
EXPORTTYPE=CER
SGNALG=SHA-1
ENCALG=3DES
PUBKEYALG=DSA
[SEARCH]
ALIAS=1
OWNERKEYID=0
ISSSUERHASH=0
EMAIL=1
PUBKEYHASH=0
CAISSSUERHASH=0
OWNERHASH=0
ISSUERKEYID=0
COMMONNAME=1
Related references |