Programming Interface

The signature process can be influenced by many parameters.

Export.SignResult: Activates the signature of export files. This option corresponds to the checkbox in the export target dialog. The value is disregarded if no supported signature software is found on the machine.

Value

Meaning

0

No digital signature

1

Exported files will be signed digitally

Default

1

 

Export.SignResultAvailable: Can be used to suppress the checkbox for digital signature in the export target dialog.

Value

Meaning

0

Hide checkbox

1

Show checkbox

Default

1

 

Export.SignatureProvider: Allows selection of the software to be used if more than one of the supported products is installed.

Value

Meaning

0

Default, no explicit choice of signature software

1

Sign using secrypt digiSeal® office

2

Sign using OPENLiMiT® SignCubes software (not supported anymore)

3

Sign using esiCAPI® V 1.1 (not supported anymore)

4

Sign using secrypt digiSeal® server 2

Default

0

 

Export.SignatureProvider.Option: Additional options for the signature provider selected by Export.SignatureProvider.

 

Options for the signature provider "digiSeal® server 2":

This option has only one value and contains the connection data for digiSeal® server 2. The single values are separated with a pipe character each. The following structure applies:

<ServerHost>:<ServerPort>|<File path to the software certificate for identification and authentication >|<Password for the software certificate>

 

Example:

localhost:2001|secrypt_Testcertificate_D-TRUST_test.pfx|test

 

.NET component:

LL.ExportOptions.Add(LlExportOption.ExportSignatureProvider, "4");

LL.ExportOptions.Add(LlExportOption.ExportSignatureProviderOption, "localhost:2001| secrypt_Testcertificate_D-TRUST_test.pfx|test");

C++:

LlXSetParameter(hJob, LL_LLX_EXTENSIONTYPE_EXPORT, _T("PDF"), _T("Export.SignaturProvider "), _T("4"));

LlXSetParameter(hJob, LL_LLX_EXTENSIONTYPE_EXPORT, _T("PDF"), _T("Export.SignaturProvider.Option"), _T("localhost:2001|secrypt_Testcertificate_D-TRUST_test.pfx|test"));

Export.SignatureFormat: Can be used to choose the signature format. The available values depend on the file type and signature software.

Value

Meaning

pk7

Signature in pk7 format (container format that contains the signed file and signature). Available for Multi-TIFF, TXT and PDF (the latter only for SignCubes). The resulting file has the extension "pk7".

p7s

Signature in p7s format. An additional file *.p7s is created during the export process. Available for Multi-TIFF, TXT and PDF (the latter only for SignCubes). If the export result is sent via email, both files are attached.

p7m

Signature in p7m format (container format that contains the signed file and signature). Available for Multi-TIFF, TXT and PDF (the latter only for SignCubes). The resulting file has the extension "p7m".

PDF

PDF signature. Available for PDF and Multi-TIFF (only for digiSeal® office and B/W-Tiffs). A Multi-TIFF is converted to a PDF and signed with a special Barcode that allows verifying the signed document even after printing the PDF.

Default

p7s for TXT and Multi-TIFF, PDF for PDF.