PDF Task

Properties   Config Settings  

The PDF task adds signature and encryption security to PDF processing.

Remarks

The PDF task may be used to add security features to your PDF generation and processing applications. Supported functions include password-based and certificate-based encryption, certificate-based signing, timestamping, and compression.

PDF Encoder Task

If EncryptData is set to True the PDF will be encrypted. The following properties are applicable when encrypting:

When EncryptData is set to True the task uses the certificate set in the EncryptionCert properties or the password set in the Password property to encrypt the document. EncryptionType determines whether to use public key encryption (default) or password encryption. For more details on the use of certificates, please see the Notes on Using Certificates section below.

The EncryptionAlgorithm property specifies the algorithm to use when encrypting. The default is 0 (RC4).

Signing Notes

If SignData is set to True the PDF will be signed. The following properties are applicable when signing:

When SignData is set to True the task uses the certificate set in the SigningCertificate properties to sign the document. SignatureType determines whether to create a standard document signature (default) or a certification (MDP) signature.

If TimestampServer is set to a valid Timestamp server URL the task will attempt to timestamp the signature.

Signature Widget Notes

Information about the signature is displayed in a signature widget within the PDF document. The widget itself may be customized in a variety of ways including the type and values of information displayed, as well as its location within the document. The following properties control the most common signature widget values.

Additional configuration options are available to further customize the signature widget. These may be set via the Other property. See the Configuration section of the documentation for details.

PDF Decoder Task

By default, the pipeline will automatically attempt to decrypt encrypted PDF documents. The following properties are applicable when decrypting:

RequireEncryption governs whether an error should be thrown if the PDF is not encrypted. RequirePublicKeyEncryption will throw an error if the document is encrypted with a password or is not encrypted at all. RequireNonEmptyPass will throw an error if the document is encrypted with a public key or not at all. The usage of the remaining properties depends on whether the PDF was encrypted with a certificate/public key, or with a password/string.

Depending on the value of EncryptionType, the task will either use the certificate specified in DecryptionCert or the Password to decrypt encrypted PDF documents. For more details on the use of certificates, please see the Notes on Using Certificates section below.

Signature Verification Notes

The pipeline can also verify signed or certified PDF documents. The following properties are applicable when verifying:

SignerCert must be set to the certificate(s) with the public key that is paired with the private key used to sign the document. To load a PKCS11 certificate, SignerCertPKCS11Params should be set instead.

RequireSignature governs whether an error should be thrown if the PDF is not signed. RequireAllSignatures, if set to True, will throw an error if any of the certificates specified in SignerCert were not used to sign the PDF. Set RequireTimestamp to True if the signature must be accompanied by a timestamp.

If ExtractLastSignedVersion is set to True, the pipeline will throw away any elements of the PDF document that were not signed during the most recent signature.

Notes on Using Certificates

The following properties can be used to load a single certificate via a certificate browser:

The certificate browser can load certificates from system stores or from a file on disk.

Alternate Certificates and Using Multiple Certificates

Certificates can also be loaded via the following set of configuration options:

These settings mirror the syntax from previous versions of the PDF components, BizCrypto, so users familiar with this syntax may prefer this approach over the certificate browser. If the certificate is stored directly as string/byte data rather than in a file or a system store, these settings must be used to load the certificate.

Additionally, these settings should be used if more than one certificate needs to be loaded to perform a single operation.

For example, if multiple certificates should be used to sign a PDF, only one of these can be specified as the SigningCert. The remaining certificates should be loaded using the AltCert* options listed above.

PKCS11 Certificates

Certificates in PKCS11 format (hardware tokens) should be loaded via the following properties:

PCKS11 Certificates are specified via the following list of parameters, in name=value syntax:

dllpathPath to PKCS11 driver DLL (required)Example:

DllPath="C:\Program Files\Token\cp11.dll"

slotSlot number. If not specified, the first slot with the inserted token is considered.Example:

Slot="5"

pinToken PIN.Example:

Pin="12345"

issuerSpecifies a subset of fields of the certificate issuer in DN (distinguished name) format.Example:

issuer="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

subjectSpecifies a subset of fields of the certificate subject in DN (distinguished name) format.Example:

subject="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

serialCertificate serial number in base16 format.Example:

serial="00FFA0"

fingerprintSHA1 fingerprint of the certificate in base16 format.Example:

fingerprint="00112233445566778899AABBCCDDEEFF00112233"

keyidThe value of the subject key identifier extension of the certificate in base16 format.Example:

keyid="112233445566"

Encoder Property List


The following is the full list of the properties of the encoder task with short descriptions. Click on the links for further details.

AlgorithmCaptionThe displayed caption describing the algorithm in the signature widget.
AuthorNameThe name of the author.
BackgroundSpecifies the full path to an image file used for the signature widget background.
BackgroundStyleThis property specifies the style of signature widget background.
ContactInfoContact information for the signer.
EncryptDataWhether to encrypt the PDF.
EncryptionAlgorithmThe encryption algorithm.
EncryptionCertThe Certificate that will be used to encrypt the PDF.
EncryptionCertPKCS11ParamsThe PKCS11 Certificate(s) that will be used to encrypt the PDF.
EncryptionTypeThe type of encryption to perform.
InputFileThe full path to the input file.
InvisibleSpecifies whether the signature widget is visible.
LocationThe physical location or machine name where the document was signed.
OtherDefines a set of configuration settings to be used by the task.
OutputFileThe full path to the output file.
OverwriteWhether or not the component should overwrite the output file.
PageThe page number on which the signature widget is displayed.
PasswordSpecifies the password used to encrypt the document.
ReasonSpecifies a string stating the reason for the signature.
RuntimeLicenseSpecifies the component runtime license key.
ShowOnAllPagesWhether to show the signature widget on all pages of the document.
SignatureHashAlgorithmSpecifies the signature hash algorithm.
SignatureTypeWhether to sign or certify the PDF.
SignDataWhether to sign the PDF.
SignerCaptionSpecifies the caption displayed before the signer information.
SignExistingFieldsWhether to sign existing fields.
SigningCertThe certificate that will be used to sign or certify the PDF.
SigningCertPKCS11ParamsThe PKCS11 certificate that will be used to sign or certify the PDF.
TempPathA temporary directory where data can be stored before the component processes it.
TimestampServerThe URL of the timestamp server.
TrustedCertSpecifies a Certificate that can be used to validate the trust of other certificates.
TrustedCertPKCS11ParamsSpecifies a PKCS11 Certificate that can be used to validate the trust of other certificates.

Decoder Property List


The following is the full list of the properties of the decoder task with short descriptions. Click on the links for further details.

DecryptionCertThe Certificate that will be used to decrypt the PDF.
DecryptionCertPKCS11ParamsThe PKCS11 Certificate that will be used to decrypt the PDF.
ExtractLastSignedVersionSpecifies whether to extract only the signed elements of the document, from the most recent signature.
InputFileThe full path to the input file.
KnownCertSpecifies an intermediary certificate in a trusted certificate chain.
KnownCertPKCS11ParamsSpecifies an intermediary PKCS11 certificate in a crusted certificate chain.
OtherDefines a set of configuration settings to be used by the task.
OutputFileThe full path to the output file.
OverwriteWhether or not the component should overwrite the output file.
PasswordSpecifies the password used to encrypt the document.
RequireAllSignaturesSpecifies whether to throw an error if not all SignerCerts were used to sign the PDF.
RequireCertificationSpecifies whether an error should be thrown if the PDF document is not certified.
RequireEncryptionSpecifies whether an error should be thrown if the PDF document is not encrypted.
RequireNonEmptyPassSpecifies whether an error should be thrown if the PDF was encrypted with an empty password.
RequirePublicKeyEncryptionSpecifies whether an error should be thrown if the PDF document was not encrypted using a Public Key.
RequireSignatureSpecifies whether to throw an error if the received PDF was not signed.
RequireTimestampSpecifies whether a signature must have an associated timestamp to be successfully verified.
RuntimeLicenseSpecifies the component runtime license key.
SignerCertThe Certificate that was used to sign or certify the PDF.
SignerCertPKCS11ParamsThe PKCS11 Certificate that was used to sign or certify the PDF.
TempPathA temporary directory where data can be stored before the component processes it.
TrustAllCertificatesSpecifies whether Certificate validation should automatically succeed.
TrustedCertSpecifies a Certificate that can be used to validate the trust of other certificates.
TrustedCertPKCS11ParamsSpecifies a PKCS11 Certificate that can be used to validate the trust of other certificates.

Config Settings


The following is a list of config settings for the task with short descriptions. Click on the links for further details.

AlgorithmInfoThe displayed algorithm info in the signature widget.
AllowCommentsWhether the recipient may add comments.
AllowFillInFormsWhether the recipient may fill in forms.
AltCertPassword[index]Specifies the password for an alternate Certificate.
AltCertSource[index]Specifies the format from which an alternate Certificate should be loaded.
AltCertStore[index]Specifies the store from which to load an alternate Certificate.
AltCertType[index]Specifies how an alternate Certificate should be used.
AutoFontSizeWhether to automatically size the font in the signature widget.
AutoPosWhether to automatically position the signature widget.
AutoSizeWhether to automatically size the signature widget.
AutoStretchBackgroundWhether the background of the signature widget is automatically stretched.
AutoTextWhether to automatically determine the text to be included in the signature widget.
BackgroundHeightThe height of the background image.
BackgroundWidthThe width of the background image.
CustomHandlerNameSpecifies a custom security handler used for signing and encryption.
DetachedWhether the signature is detached.
EncryptMetadataSpecifies whether the document metadata is encrypted.
FIPSModeDetermines whether to operate in FIPS mode.
HeaderThe header displayed on the signature widget.
HeightSets the height of the signature widget.
IgnoreExistingAppearanceDetermines if appearance settings of existing empty signature fields are ignored.
IgnoreTimestampFailureWhether it ignore timestamp failures during signing.
LiberalModeSpecifies the validation mode of MDP signatures.
LockedWhether the signature widget is locked in place.
NoRotateWhether the signature widget rotation is disabled when the document rotates.
NoViewWhether the signature widget is displayed when the document is viewed.
NoZoomWhether the signature widget is resized when the document is zoomed.
OffsetXThe offset of the signature widget from the left.
OffsetYThe offset of the signature widget from the bottom.
PrintWhether the signature widget will appear in printed copies.
PublicKeySignatureTypeThe public key signature type.
ReadOnlyWhether the signature widget is interactive or read-only.
RotateSpecifies the rotation of the signature widget in degrees.
SaveStringsInUnicodeEncodingWhether strings are saved in Unicode.
SectionTextFontSizeThe font size of the section text.
SectionTitleFontSizeThe font size of the section title.
ShowTimestampWhether the timestamp is displayed on the signature widget.
SigFieldNameThe name of the signature field to sign.
SignerInfoInformation to be displayed about the signer.
StretchXSpecifies the horizontal stretch of the signature widget background picture.
StretchYSpecifies the vertical stretch of the signature widget background picture.
TimestampFontSizeThe font size of the timestamp.
TitleFontSizeThe font size of the title.
ToggleNoViewSpecifies whether the signature is visible on hover.
UseHexEncodingWhether to hex encode strings used in the signature widget.
WidthSets the width of the signature widget.

AlgorithmCaption Property (PDF Task)

The displayed caption describing the algorithm in the signature widget.

Data Type

String

Default Value

"Public key:"


Remarks

This property specifies the caption which describes the algorithm in the signature widget.

The default value is Public key: .

This property is not available in the Disassembler/Decoder.

AuthorName Property (PDF Task)

The name of the author.

Data Type

String

Default Value

""


Remarks

This property specifies the name of the person or entity signing the document.

This property is not available in the Disassembler/Decoder.

Background Property (PDF Task)

Specifies the full path to an image file used for the signature widget background.

Data Type

String

Default Value

""


Remarks

This property specifies the full path to an image file which will be used as the background in the signature widget.

This property is only applicable when BackgroundStyle is set to 2 (Custom).

This property is not available in the Disassembler/Decoder.

BackgroundStyle Property (PDF Task)

This property specifies the style of signature widget background.

Data Type

Enumeration

Possible Values

Default (0)
No Background (1)
Custom (2)


Default Value

0


Remarks

This property specifies the style of signature widget background. The background may be disabled completely, or set to an image. Possible values are:

0 (Default) A default background image is used.
1 (No Background) No background image is used.
2 (Custom) A customer background image is used.
If set to 2 (Custom), set Background to the path on disk to an image file that will be used for the background.

This property is not available in the Disassembler/Decoder.

ContactInfo Property (PDF Task)

Contact information for the signer.

Data Type

String

Default Value

""


Remarks

This property specifies contact information for the signer. This may be used by the receiving party to help verify the identity of the signer. For instance this may be a phone number, or email address of the signer.

This property is not available in the Disassembler/Decoder.

DecryptionCert Property (PDF Task)

The Certificate that will be used to decrypt the PDF.

Data Type

Certificate

Remarks

This property specifies the certificate with a private key that is paired with the public key that was used to encrypt the PDF.

If multiple unique certificates were used to encrypt the PDF, and so multiple unique certificates are required to decrypt it, the following configuration options should be used to specify the additional certificates:

This property is not available in the Assembler/Encoder.

DecryptionCertPKCS11Params Property (PDF Task)

The PKCS11 Certificate that will be used to decrypt the PDF.

Data Type

String

Default Value

""


Remarks

This property specifies the PKCS11 certificate with a private key that is paired with the public key that was used to encrypt the PDF.

PCKS11 Certificates are specified via the following list of parameters, in name=value syntax:

dllpathPath to PKCS11 driver DLL (required)Example:

DllPath="C:\Program Files\Token\cp11.dll"

slotSlot number. If not specified, the first slot with the inserted token is considered.Example:

Slot="5"

pinToken PIN.Example:

Pin="12345"

issuerSpecifies a subset of fields of the certificate issuer in DN (distinguished name) format.Example:

issuer="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

subjectSpecifies a subset of fields of the certificate subject in DN (distinguished name) format.Example:

subject="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

serialCertificate serial number in base16 format.Example:

serial="00FFA0"

fingerprintSHA1 fingerprint of the certificate in base16 format.Example:

fingerprint="00112233445566778899AABBCCDDEEFF00112233"

keyidThe value of the subject key identifier extension of the certificate in base16 format.Example:

keyid="112233445566"

This property is not available in the Assembler/Encoder.

EncryptData Property (PDF Task)

Whether to encrypt the PDF.

Data Type

Boolean

Default Value

true


Remarks

This property defines whether the PDF is encrypted.

If EncryptData is set to True the PDF will be encrypted. The following properties are applicable when encrypting:

When EncryptData is set to True the task uses the certificate set in the EncryptionCert properties or the password set in the Password property to encrypt the document. EncryptionType determines whether to use public key encryption (default) or password encryption. For more details on the use of certificates, please see the Notes on Using Certificates section below.

The EncryptionAlgorithm property specifies the algorithm to use when encrypting. The default is 0 (RC4).

This property is not available in the Disassembler/Decoder.

EncryptionAlgorithm Property (PDF Task)

The encryption algorithm.

Data Type

Enumeration

Possible Values

RC4 (0)
AES128 (1)


Default Value

0


Remarks

This property specifies the algorithm to use when encrypting the PDF. Possible values are:

  • 0 (RC4 - default)
  • 1 (AES128)

This property is not available in the Disassembler/Decoder.

EncryptionCert Property (PDF Task)

The Certificate that will be used to encrypt the PDF.

Data Type

Certificate

Remarks

This property specifies the certificate with a public key that will be used to encrypt the PDF.

This property accepts a single certificate via a certificate browser. To specify multiple certificates as encryption certificates, or to use syntax similar to older versions of the PDF components (BizCrypto), the following configuration options should be used:

This property is not available in the Disassembler/Decoder.

EncryptionCertPKCS11Params Property (PDF Task)

The PKCS11 Certificate(s) that will be used to encrypt the PDF.

Data Type

String

Default Value

""


Remarks

If a certificate should be specified as an EncryptionCert and is in PKCS11 format, this property should be set instead of EncryptionCert.

PCKS11 Certificates are specified via the following list of parameters, in name=value syntax:

dllpathPath to PKCS11 driver DLL (required)Example:

DllPath="C:\Program Files\Token\cp11.dll"

slotSlot number. If not specified, the first slot with the inserted token is considered.Example:

Slot="5"

pinToken PIN.Example:

Pin="12345"

issuerSpecifies a subset of fields of the certificate issuer in DN (distinguished name) format.Example:

issuer="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

subjectSpecifies a subset of fields of the certificate subject in DN (distinguished name) format.Example:

subject="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

serialCertificate serial number in base16 format.Example:

serial="00FFA0"

fingerprintSHA1 fingerprint of the certificate in base16 format.Example:

fingerprint="00112233445566778899AABBCCDDEEFF00112233"

keyidThe value of the subject key identifier extension of the certificate in base16 format.Example:

keyid="112233445566"

This property is not available in the Disassembler/Decoder.

EncryptionType Property (PDF Task)

The type of encryption to perform.

Data Type

Enumeration

Possible Values

Public Key (0)
Password (1)


Default Value

0


Remarks

This property defines the type of encryption to perform. Possible values are:

  • 0 (Public Key - default)
  • 1 (Password)

This property is not available in the Disassembler/Decoder.

ExtractLastSignedVersion Property (PDF Task)

Specifies whether to extract only the signed elements of the document, from the most recent signature.

Data Type

Boolean

Default Value

true


Remarks

If true, unsigned portions of the PDF will be discarded. If the PDF has been signed multiple times, only the most recent signature will be considered.

This property is not available in the Assembler/Encoder.

InputFile Property (PDF Task)

The full path to the input file.

Data Type

String

Default Value

""


Remarks

This property specifies the PDF file to be operated on. This property is required.

Invisible Property (PDF Task)

Specifies whether the signature widget is visible.

Data Type

Boolean

Default Value

true


Remarks

This property specifies whether the signature widget is visible. If set to True (default) the signature widget is visible. Set this to False to hide the signature widget.

This property is not available in the Disassembler/Decoder.

KnownCert Property (PDF Task)

Specifies an intermediary certificate in a trusted certificate chain.

Data Type

Certificate

Remarks

This setting is only relevant if TrustAllCertificates is set to False.

During signature verification, the task will attempt to validate the trust of the SignerCert. To succeed, the certificate must be trusted directly or the root of the certificate chain must be a TrustedCert. Any intermediate certificates between the trusted certificate and the signer's certificate must be included as a KnownCert.

In general, certificates that are not root or are not received via a trusted channel should be set as a KnownCert to avoid affecting system security.

To include multiple unique certificates as known certificates, the following configuration options should be used:

This property is not available in the Assembler/Encoder.

KnownCertPKCS11Params Property (PDF Task)

Specifies an intermediary PKCS11 certificate in a crusted certificate chain.

Data Type

String

Default Value

""


Remarks

If a certificate should be specified as a KnownCert and is in PKCS11 format, this property should be set instead of KnownCert. Please see the KnownCert page for details on when certificates should be specified as known.

PCKS11 Certificates are specified via the following list of parameters, in name=value syntax:

dllpathPath to PKCS11 driver DLL (required)Example:

DllPath="C:\Program Files\Token\cp11.dll"

slotSlot number. If not specified, the first slot with the inserted token is considered.Example:

Slot="5"

pinToken PIN.Example:

Pin="12345"

issuerSpecifies a subset of fields of the certificate issuer in DN (distinguished name) format.Example:

issuer="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

subjectSpecifies a subset of fields of the certificate subject in DN (distinguished name) format.Example:

subject="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

serialCertificate serial number in base16 format.Example:

serial="00FFA0"

fingerprintSHA1 fingerprint of the certificate in base16 format.Example:

fingerprint="00112233445566778899AABBCCDDEEFF00112233"

keyidThe value of the subject key identifier extension of the certificate in base16 format.Example:

keyid="112233445566"

This property is not available in the Assembler/Encoder.

Location Property (PDF Task)

The physical location or machine name where the document was signed.

Data Type

String

Default Value

""


Remarks

This property specifies the physical location or machine name where the document was signed.

This property is not available in the Disassembler/Decoder.

Other Property (PDF Task)

Defines a set of configuration settings to be used by the task.

Data Type

String

Default Value

""


Remarks

The task accepts one or more configuration settings. These settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the task, access to these internal properties is provided through the Other property.

The Other property may be set to one or more configuration settings (name/value pairs). Set one setting per line. For example: configname1=value1 configname2=value2

OutputFile Property (PDF Task)

The full path to the output file.

Data Type

String

Default Value

""


Remarks

After processing the PDF, the resulting file will be written to this location. This property is required.

Overwrite Property (PDF Task)

Whether or not the component should overwrite the output file.

Data Type

Boolean

Default Value

false


Remarks

This property specifies whether the task should overwrite the OutputFile if it already exists on disk.

Page Property (PDF Task)

The page number on which the signature widget is displayed.

Data Type

Integer

Default Value

0


Remarks

This property specifies the page number on which the signature widget is displayed. Page numbers begin with 0. The default value is 0.

This property is not available in the Disassembler/Decoder.

Password Property (PDF Task)

Specifies the password used to encrypt the document.

Data Type

Password

Default Value

""


Remarks

This setting specifies the password used to encrypt the document. When EncryptionType is set to 1 (Password) this property specifies the encryption password.

Reason Property (PDF Task)

Specifies a string stating the reason for the signature.

Data Type

String

Default Value

""


Remarks

This property defines the reason the signature was created. This may be set to any text. For instance Document has been reviewed and approved.

This property is not available in the Disassembler/Decoder.

RequireAllSignatures Property (PDF Task)

Specifies whether to throw an error if not all SignerCerts were used to sign the PDF.

Data Type

Boolean

Default Value

true


Remarks

If true, the task will throw an error if a Certificate specified in SignerCert was not used to sign the current PDF.

If multiple signatures are expected, the additional SignerCerts must be specified via the following configuration settings:

If false, the pipeline will ignore any Certificates in SignerCert or the above configuration settings that were not used to sign the current PDF.

This property is not available in the Assembler/Encoder.

RequireCertification Property (PDF Task)

Specifies whether an error should be thrown if the PDF document is not certified.

Data Type

Boolean

Default Value

false


Remarks

If true, only certified PDF documents will be successfully validated.

This property is not available in the Assembler/Encoder.

RequireEncryption Property (PDF Task)

Specifies whether an error should be thrown if the PDF document is not encrypted.

Data Type

Boolean

Default Value

true


Remarks

If true, only encrypted PDF documents will be successfully validated.

This property is not available in the Assembler/Encoder.

RequireNonEmptyPass Property (PDF Task)

Specifies whether an error should be thrown if the PDF was encrypted with an empty password.

Data Type

Boolean

Default Value

true


Remarks

If True, the task will throw an error if the PDF was password-encrypted and the password is the empty string "".

This property is not available in the Assembler/Encoder.

RequirePublicKeyEncryption Property (PDF Task)

Specifies whether an error should be thrown if the PDF document was not encrypted using a Public Key.

Data Type

Boolean

Default Value

false


Remarks

If true, the task will throw an error if an unencrypted or password-encrypted PDF is detected. The DecryptionCert property should be set to the certificate with the appropriate private key.

This property is not available in the Assembler/Encoder.

RequireSignature Property (PDF Task)

Specifies whether to throw an error if the received PDF was not signed.

Data Type

Boolean

Default Value

true


Remarks

If true, the task will throw an error if an unsigned PDF is detected. To ensure that all certificates specified as a SignerCert were used to sign the PDF, the RequireAllSignatures property should be set as well.

This property is not available in the Assembler/Encoder.

RequireTimestamp Property (PDF Task)

Specifies whether a signature must have an associated timestamp to be successfully verified.

Data Type

Boolean

Default Value

true


Remarks

If true, only signatures that include a timestamp will be considered valid. Other rules for signature verification still apply.

This property is not available in the Assembler/Encoder.

RuntimeLicense Property (PDF Task)

Specifies the component runtime license key.

Data Type

String

Default Value

""


Remarks

You can use the RuntimeLicense property to set the runtime key for the task license.

ShowOnAllPages Property (PDF Task)

Whether to show the signature widget on all pages of the document.

Data Type

Boolean

Default Value

false


Remarks

This property specifies whether the signature widget is shown on each page of the document. If False (default) the signature widget is only shown on the page specified by Page. If set to True the signature widget will be visible on each page of the document.

This property is not available in the Disassembler/Decoder.

SignatureHashAlgorithm Property (PDF Task)

Specifies the signature hash algorithm.

Data Type

Enumeration

Possible Values

SHA1 (0)
MD5 (1)
SHA224 (2)
SHA256 (3)
SHA384 (4)
SHA512 (5)
RIPEMD160 (6)


Default Value

0


Remarks

This property specifies the signature hash algorithm. Possible values are:

  • 0 (SHA1 - default)
  • 1 (MD5)
  • 2 (SHA-224)
  • 3 (SHA-256)
  • 4 (SHA-384)
  • 5 (SHA-512)
  • 6 (RIPEMD-160)
Note: PDF references prior to 1.7 only support SHA1.

This property is not available in the Disassembler/Decoder.

SignatureType Property (PDF Task)

Whether to sign or certify the PDF.

Data Type

Enumeration

Possible Values

Signature (0)
Certification (1)


Default Value

0


Remarks

By default, SignatureType is set to signature (0). To certify the PDF instead of signing it, set this property to (1).

This property is not available in the Disassembler/Decoder.

SignData Property (PDF Task)

Whether to sign the PDF.

Data Type

Boolean

Default Value

true


Remarks

This property defines whether the PDF is signed.

If SignData is set to True the PDF will be signed. The following properties are applicable when signing:

When SignData is set to True the task uses the certificate set in the SigningCertificate properties to sign the document. SignatureType determines whether to create a standard document signature (default) or a certification (MDP) signature.

If TimestampServer is set to a valid Timestamp server URL the task will attempt to timestamp the signature.

Signature Widget Notes

Information about the signature is displayed in a signature widget within the PDF document. The widget itself may be customized in a variety of ways including the type and values of information displayed, as well as its location within the document. The following properties control the most common signature widget values.

Additional configuration options are available to further customize the signature widget. These may be set via the Other property. See the Configuration section of the documentation for details.

This property is not available in the Disassembler/Decoder.

SignerCaption Property (PDF Task)

Specifies the caption displayed before the signer information.

Data Type

String

Default Value

""


Remarks

This property optionally specifies a caption that is displayed in the signature widget. For instance Signer: John Doe.

This property is not available in the Disassembler/Decoder.

SignerCert Property (PDF Task)

The Certificate that was used to sign or certify the PDF.

Data Type

Certificate

Remarks

This property specifies the certificate with a public key that is paired with the private key used to sign or certify the PDF. If the signature/certification cannot be verified, an error will be thrown.

If multiple unique certificates are required to verify the PDF, the following configuration options should be used to specify the additional certificates:

This property is not available in the Assembler/Encoder.

SignerCertPKCS11Params Property (PDF Task)

The PKCS11 Certificate that was used to sign or certify the PDF.

Data Type

String

Default Value

""


Remarks

This property specifies the certificate with a public key that is paired with the private key used to sign or certify the PDF. If the signature/certification cannot be verified, an error will be thrown.

PCKS11 Certificates are specified via the following list of parameters, in name=value syntax:

dllpathPath to PKCS11 driver DLL (required)Example:

DllPath="C:\Program Files\Token\cp11.dll"

slotSlot number. If not specified, the first slot with the inserted token is considered.Example:

Slot="5"

pinToken PIN.Example:

Pin="12345"

issuerSpecifies a subset of fields of the certificate issuer in DN (distinguished name) format.Example:

issuer="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

subjectSpecifies a subset of fields of the certificate subject in DN (distinguished name) format.Example:

subject="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

serialCertificate serial number in base16 format.Example:

serial="00FFA0"

fingerprintSHA1 fingerprint of the certificate in base16 format.Example:

fingerprint="00112233445566778899AABBCCDDEEFF00112233"

keyidThe value of the subject key identifier extension of the certificate in base16 format.Example:

keyid="112233445566"

This property is not available in the Assembler/Encoder.

SignExistingFields Property (PDF Task)

Whether to sign existing fields.

Data Type

Boolean

Default Value

false


Remarks

This setting specifies whether existing empty signature fields will be signed.

If set to True the task will sign the first empty signature field within the document. To specify a particular field that should be signed instead, set SigFieldName.

The default value is False, meaning empty signature fields will not be signed.

This property is not available in the Disassembler/Decoder.

SigningCert Property (PDF Task)

The certificate that will be used to sign or certify the PDF.

Data Type

Certificate

Remarks

This property specifies the certificate with a private key that will be used to sign or certify the PDF.

If multiple unique certificates are required to sign/certify the PDF, the following configuration options should be used to specify the additional certificates:

This property is not available in the Disassembler/Decoder.

SigningCertPKCS11Params Property (PDF Task)

The PKCS11 certificate that will be used to sign or certify the PDF.

Data Type

String

Default Value

""


Remarks

If a certificate should be set as a SigningCert and is in PKCS11 format, this property should be set instead of SigningCert.

PCKS11 Certificates are specified via the following list of parameters, in name=value syntax:

dllpathPath to PKCS11 driver DLL (required)Example:

DllPath="C:\Program Files\Token\cp11.dll"

slotSlot number. If not specified, the first slot with the inserted token is considered.Example:

Slot="5"

pinToken PIN.Example:

Pin="12345"

issuerSpecifies a subset of fields of the certificate issuer in DN (distinguished name) format.Example:

issuer="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

subjectSpecifies a subset of fields of the certificate subject in DN (distinguished name) format.Example:

subject="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

serialCertificate serial number in base16 format.Example:

serial="00FFA0"

fingerprintSHA1 fingerprint of the certificate in base16 format.Example:

fingerprint="00112233445566778899AABBCCDDEEFF00112233"

keyidThe value of the subject key identifier extension of the certificate in base16 format.Example:

keyid="112233445566"

This property is not available in the Disassembler/Decoder.

TempPath Property (PDF Task)

A temporary directory where data can be stored before the component processes it.

Data Type

String

Default Value

""


Remarks

This property indicates a temporary directory where the task can store any data before the task processes it. If TempPath is empty, the task will receive all data to memory. If set, the task will generate and write all inbound data to a temporary file in the specified directory.

Once the file is submitted, the task will handle closing the file stream and deleting the temporary file. However, if the task is shut down during a transfer some temporary files may be left in the directory. To ensure optimal performance, server administrators should check the directory regularly and remove old or extraneous files.

This property accepts the "%TEMP%" macro, which will be replaced with the default system temporary directory at runtime. Note: by default, this property is empty and the task will use memory streams to store all inbound data before submitting it. It is recommended that you use a temporary directory when downloading large batches or batches containing large files to alleviate potential increased memory requirements.

TimestampServer Property (PDF Task)

The URL of the timestamp server.

Data Type

String

Default Value

""


Remarks

This property optionally specifies the URL of the timestamp server. When SignData is set to True the task will attempt to timestamp the signature using the timestamp server URL provided here.

If no value is specified the signature is not timestamped.

This property is not available in the Disassembler/Decoder.

TrustAllCertificates Property (PDF Task)

Specifies whether Certificate validation should automatically succeed.

Data Type

Boolean

Default Value

true


Remarks

If true, the task will not attempt to validate certificate chains. If false, certificates must be a part of a trusted chain specified by TrustedCert and KnownCert.

This property is not available in the Assembler/Encoder.

TrustedCert Property (PDF Task)

Specifies a Certificate that can be used to validate the trust of other certificates.

Data Type

Certificate

Remarks

This setting is only relevant if TrustAllCertificates is set to False.

During signature verification, the task will attempt to validate the trust of the SignerCert. To succeed, the Certificate must be trusted directly or the root of the Certificate chain must be a trusted Certificate. Any intermediate Certificates between the trusted Certificate and the signer's Certificate must be included as a KnownCert.

In general, only root certificates received via a trusted channel should be set as a TrustedCert. Certificates that are not root or are less secure should be specified as a KnownCert to avoid affecting system security.

To include multiple unique Certificates as trusted Certificates, the following configuration options should be used:

TrustedCertPKCS11Params Property (PDF Task)

Specifies a PKCS11 Certificate that can be used to validate the trust of other certificates.

Data Type

String

Default Value

""


Remarks

If a Certificate should be specified as a TrustedCert and is in PKCS11 format, this property should be set instead of TrustedCert. Please see the TrustedCert page for details on when Certificates should be specified as trusted.

PCKS11 Certificates are specified via the following list of parameters, in name=value syntax:

dllpathPath to PKCS11 driver DLL (required)Example:

DllPath="C:\Program Files\Token\cp11.dll"

slotSlot number. If not specified, the first slot with the inserted token is considered.Example:

Slot="5"

pinToken PIN.Example:

Pin="12345"

issuerSpecifies a subset of fields of the certificate issuer in DN (distinguished name) format.Example:

issuer="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

subjectSpecifies a subset of fields of the certificate subject in DN (distinguished name) format.Example:

subject="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"

serialCertificate serial number in base16 format.Example:

serial="00FFA0"

fingerprintSHA1 fingerprint of the certificate in base16 format.Example:

fingerprint="00112233445566778899AABBCCDDEEFF00112233"

keyidThe value of the subject key identifier extension of the certificate in base16 format.Example:

keyid="112233445566"

Certificate Type

The digital certificate being used.

Remarks

This type describes the current digital certificate. The certificate may be a public or private key. The fields are used to identify or select certificates.

Fields

Store
String

The name of the certificate store for the client certificate.

The StoreType field specifies the type of the certificate store specified by Store. If the store is password protected, specify the password in StorePassword.

Store is used in conjunction with the Subject field in order to specify client certificates. If Store has a value, and Subject is set, a search for a certificate is initiated. Please refer to the Subject field for details.

Designations of certificate stores are platform-dependent.

The following are designations of the most common User and Machine certificate stores in Windows:

MYA certificate store holding personal certificates with their associated private keys.
CACertifying authority certificates.
ROOTRoot certificates.
SPCSoftware publisher certificates.

In Java, the certificate store normally is a file containing certificates and optional private keys.

When the certificate store type is PFXFile, this property must be set to the name of the file. When the type is PFXBlob, the property must be set to the binary contents of a PFX file (i.e. PKCS12 certificate store).

If the provider is OpenSSL, the certificate store is a file containing a certificate and a private key. This property must be set to the name of the file.

StoreType
CertStoreTypes

The type of certificate store for this certificate.

The task supports both public and private keys in a variety of formats. When the cstAuto value is used, the task will automatically determine the type. This field can take one of the following values:

0 (cstUser - default)For Windows, this specifies that the certificate store is a certificate store owned by the current user.

Note: This store type is not available in Java.

1 (cstMachine)For Windows, this specifies that the certificate store is a machine store.

Note: This store type is not available in Java.

2 (cstPFXFile)The certificate store is the name of a PFX (PKCS#12) file containing certificates.
3 (cstPFXBlob)The certificate store is a string (binary or Base64-encoded) representing a certificate store in PFX (PKCS#12) format.
4 (cstJKSFile)The certificate store is the name of a Java Key Store (JKS) file containing certificates.

Note: This store type is only available in Java.

5 (cstJKSBlob)The certificate store is a string (binary or Base64-encoded) representing a certificate store in Java Key Store (JKS) format.

Note: This store type is only available in Java.

6 (cstPEMKeyFile)The certificate store is the name of a PEM-encoded file that contains a private key and an optional certificate.
7 (cstPEMKeyBlob)The certificate store is a string (binary or Base64-encoded) that contains a private key and an optional certificate.
8 (cstPublicKeyFile)The certificate store is the name of a file that contains a PEM- or DER-encoded public key certificate.
9 (cstPublicKeyBlob)The certificate store is a string (binary or Base64-encoded) that contains a PEM- or DER-encoded public key certificate.
10 (cstSSHPublicKeyBlob)The certificate store is a string (binary or Base64-encoded) that contains an SSH-style public key.
11 (cstP7BFile)The certificate store is the name of a PKCS#7 file containing certificates.
12 (cstP7BBlob)The certificate store is a string (binary) representing a certificate store in PKCS#7 format.
13 (cstSSHPublicKeyFile)The certificate store is the name of a file that contains an SSH-style public key.
14 (cstPPKFile)The certificate store is the name of a file that contains a PPK (PuTTY Private Key).
15 (cstPPKBlob)The certificate store is a string (binary) that contains a PPK (PuTTY Private Key).
16 (cstXMLFile)The certificate store is the name of a file that contains a certificate in XML format.
17 (cstXMLBlob)The certificate store is a string that contains a certificate in XML format.
18 (cstJWKFile)The certificate store is the name of a file that contains a JWK (JSON Web Key).
19 (cstJWKBlob)The certificate store is a string that contains a JWK (JSON Web Key).
21 (cstBCFKSFile)The certificate store is the name of a file that contains a BCFKS (Bouncy Castle FIPS Key Store).

Note: This store type is only available in Java and .NET.

22 (cstBCFKSBlob)The certificate store is a string (binary or Base64-encoded) representing a certificate store in BCFKS (Bouncy Castle FIPS Key Store) format.

Note: This store type is only available in Java and .NET.

23 (cstPKCS11)The certificate is present on a physical security key accessible via a PKCS#11 interface.

To use a security key, the necessary data must first be collected using the CERTMGR task. The ListStoreCertificates method may be called after setting CertStoreType to cstPKCS11, CertStorePassword to the PIN, and CertStore to the full path of the PKCS#11 DLL. The certificate information returned in the CertList event's CertEncoded parameter may be saved for later use.

When using a certificate, pass the previously saved security key information as the Store and set StorePassword to the PIN.

Code Example. SSH Authentication with Security Key: certmgr.CertStoreType = CertStoreTypes.cstPKCS11; certmgr.OnCertList += (s, e) => { secKeyBlob = e.CertEncoded; }; certmgr.CertStore = @"C:\Program Files\OpenSC Project\OpenSC\pkcs11\opensc-pkcs11.dll"; certmgr.CertStorePassword = "123456"; //PIN certmgr.ListStoreCertificates(); sftp.SSHCert = new Certificate(CertStoreTypes.cstPKCS11, secKeyBlob, "123456", "*"); sftp.SSHUser = "test"; sftp.SSHLogon("myhost", 22);

99 (cstAuto)The store type is automatically detected from the input data. This setting may be used with both public and private keys and can detect any of the supported formats automatically.

Config Settings (PDF Task)

The task accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the task, access to these internal properties is provided through the Other property.

PDF Config Settings

AlgorithmInfo:   The displayed algorithm info in the signature widget.

This setting specifies information about algorithm to be displayed in the signature widget.

This setting is only applicable when AutoText; is False. When AutoText; is True (default) the value is automatically determined based on the information in the certificate. For instance RSA/1024 bits.

When AutoText; is False this may be set to a string value in the format "Algorithm/KeySize".

AllowComments:   Whether the recipient may add comments.

This setting specifies whether comments may be added by recipients. If set to True the recipient of the signed PDF may still add comments. The default is False.

AllowFillInForms:   Whether the recipient may fill in forms.

This setting specifies whether forms may be filled in by recipients. If set to True the recipient of the signed PDF may still fill in forms. The default is False.

AltCertPassword[index]:   Specifies the password for an alternate Certificate.

This setting is used in conjunction with AltCertSource[index], AltCertStore[index], and AltCertType[index] to load certificates in addition to (or instead of) the *Cert properties of the task.

AltCertPassword[index] specifies the password for the certificate at the given index, and is only required if the certificate is password-protected.

AltCertSource[index]:   Specifies the format from which an alternate Certificate should be loaded.

This setting is used in conjunction with AltCertType[index], AltCertStore[index], and AltCertPassword[index] to load certificates in addition to (or instead of) the *Cert properties of the task.

AltCertSource[index] specifies the current format of the certificate at the given index.

The possible formats are:

0 (File)The certificate is stored in a file
1 (Value)The raw certificate data is specified directly
2 (System)The certificate is held in a system store

AltCertStore[index]:   Specifies the store from which to load an alternate Certificate.

This setting is used in conjunction with AltCertSource[index], AltCertPassword[index], and AltCertType[index] to load certificates in addition to (or instead of) the *Cert properties of the task.

AltCertStore Notes

The AltCertStore[index] setting may be set to the path to a certificate file on disk, or may be a comma separated list of values used to identify the certificate location. The following are the parameters that may be used in the comma separated list:

issuer Specifies the issuer subject.issuer="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"
subjectThe certificate subject.subject="/CN=John Johnson/O=Big Company, Inc/E=Johnson@b.com"
serialThe certificate's serial number in hex.serial="00FFA0"
fingerprintThe SHA1 fingerprint in hex.fingerprint="00112233445566778899AABBCCDDEEFF00112233"
keyidThe value of the subject key identifier certificate extension, in hex.keyid="112233445566"
storeThe windows system store name. The default value is "MY".store="ROOT"
accesstypeThe windows system store location. Possible values are:

  • CurrentService
  • CurrentUser
  • CurrentUserGroupPolicy
  • LocalMachine (default)
  • LocalMachineEnterprise
  • LocalMachineGroupPolicy
  • Services
  • Users

AccessType="CurrentUser"
AltCertType[index]:   Specifies how an alternate Certificate should be used.

This setting is used in conjunction with AltCertSource[index], AltCertStore[index], and AltCertPassword[index] to load certificates in addition to (or instead of) the *Cert properties of the task.

AltCertType[index] identifies the role/function of the certificate at the given index.

The possible roles are:

0 (Encryption)Used by the PDF encoder to encrypt a PDF
1 (Signing)Used by the PDF encoder to sign/certify a PDF
2 (Decryption)Used by the PDF decoder to decrypt a PDF
3 (Known)Used to validate the trust of signer certificates*
4 (Signer)Used by the PDF decoder to verify a signed/certified PDF
5 (Trusted)Used to validate the trust of signer certificates*

*Note: please see the KnownCert and TrustedCert properties for details on when a certificate should be in the Trusted role versus Known.

For example, if two certificates are required to sign a PDF, the first can be specified via SigningCert and the second should be specified under the Other property like this:

AltCertSource[0]=2

AltCertStore[0]="Store=MY, subject=/CN=Administrator, accessType=CurrentUser"

AltCertPassword[0]="test"

AltCertType[0]=1

A third certificate can be specified via AltCert*[1], and so on. It is also acceptable to specify all certificates via the AltCert* configuration options and ignore the *Cert properties (such as SignerCert).

AutoFontSize:   Whether to automatically size the font in the signature widget.

If set to True (default) the task will automatically size the font within the signature widget. The following values will be used:

TitleFontSize8.77
TimestampFontSize4.89
SectionTitleFontSize7
SectionTextFontSize5

The standard unit is 1/72 of an inch. IN PDF 1.6 the size of this unit may be specified as greater than 1/72 of an inch via the UserUnit entry of the page dictionary.

AutoPos:   Whether to automatically position the signature widget.

This setting specifies whether the position of the signature widget is automatically determined. If True (default) the signature widget will be placed in the upper right corner of the page. The default value is True.

If set to False then OffsetX and OffsetY specify the signature widget coordinates.

AutoSize:   Whether to automatically size the signature widget.

This setting specifies whether the size of the signature widget is automatically determined. If True (default) the signature widget size is automatically specified. The default value is True.

If set to False then Height and Width specify the size of the signature widget.

AutoStretchBackground:   Whether the background of the signature widget is automatically stretched.

This setting specifies whether the background of the signature widget is automatically stretched. If True (default) the background picture used in the signature widget will be automatically stretched to fit the size. The default value is True.

If set to False then StretchX and StretchY specify the dimension to which the image is stretched.

AutoText:   Whether to automatically determine the text to be included in the signature widget.

This setting specifies whether the text on the signature widget is automatically determined. If set to True (default) text is determined automatically based on information from the certificate used to sign the document.

If set to False then AlgorithmInfo, SignerInfo, and Header specify the text to be included on the signature widget.

BackgroundHeight:   The height of the background image.

This setting optionally specifies the height of the background image.

BackgroundWidth:   The width of the background image.

This setting optionally specifies the width of the background image.

CustomHandlerName:   Specifies a custom security handler used for signing and encryption.

This setting optionally specifies a custom security handler to be used for signing and encrypting.

Detached:   Whether the signature is detached.

This setting specifies whether the signature is detached. If True (default) the adbe.pkcs7.detached subfilter will be used when signing the document. The default value is True.

Note: This setting is only applicable when PublicKeySignatureType is set to PKCS7SHA1.

EncryptMetadata:   Specifies whether the document metadata is encrypted.

This setting specifies whether the document metadata is encrypted. The default value is True.

FIPSMode:   Determines whether to operate in FIPS mode.

This setting determines whether to operate in FIPS mode. If set to True the task will operate in FIPS compliant mode. The default value is False.

Header:   The header displayed on the signature widget.

This setting optionally specifies header value that is displayed on the signature widget.

Height:   Sets the height of the signature widget.

This setting specifies the height of the signature widget. This is only applicable if AutoSize is False.

The default value is 70.

IgnoreExistingAppearance:   Determines if appearance settings of existing empty signature fields are ignored.

This setting specifies whether appearance settings of existing empty signature fields are ignored. The default value is False.

IgnoreTimestampFailure:   Whether it ignore timestamp failures during signing.

This setting determines if failures during the timestamping process are ignored. The default value is False, meaning timestamp failures will cause signing to fail.

LiberalMode:   Specifies the validation mode of MDP signatures.

This setting specifies whether liberal validation is enabled for MDP signatures. The default value is False.

Locked:   Whether the signature widget is locked in place.

This setting specifies whether the signature widget can be moved on the signed document. If set to True (default) the widget may not be moved after the document is signed.

Note: Adobe always treats the signature widget as locked in place regardless of this setting.

NoRotate:   Whether the signature widget rotation is disabled when the document rotates.

This setting specifies whether the signature widget is rotated along with the document when the document is rotated (for instance in a browser window). The default value is False, meaning the signature widget may rotate in conjunction with the document.

NoView:   Whether the signature widget is displayed when the document is viewed.

This setting specifies whether the signature widget is displayed when the document is viewed.

NoZoom:   Whether the signature widget is resized when the document is zoomed.

This setting specifies whether the signature widget may change size with the zoom level of the document. The default value is False, meaning it may change size.

OffsetX:   The offset of the signature widget from the left.

This setting specifies the offset of the signature widget from the left page border. This is only applicable when AutoPos is False.

OffsetY:   The offset of the signature widget from the bottom.

This setting specifies the offset of the signature widget from the bottom page border. This is only applicable when AutoPos is False.

Print:   Whether the signature widget will appear in printed copies.

This setting specifies whether the signature widget will appear in printed copies of the document. The default value is True.

PublicKeySignatureType:   The public key signature type.

This setting specifies the public key signature type. This is typically only in legacy cases. Possible values are:

  • 0 (X509RSASHA1)
  • 1 (PKCS7SHA1 - default)
ReadOnly:   Whether the signature widget is interactive or read-only.

This setting specifies if the signature widget is read-only. If set to True the user may not click on or otherwise interact with the signature widget. The default value is False.

Rotate:   Specifies the rotation of the signature widget in degrees.

This setting specifies the rotation of the signature widget in degrees. Possible values are:

  • 0 (default)
  • 90
  • 180
  • 270
SaveStringsInUnicodeEncoding:   Whether strings are saved in Unicode.

This setting specifies whether the text values in the signature widget are save in Unicode. The default value is False.

SectionTextFontSize:   The font size of the section text.

This setting specifies the font size of the section text.

This setting is only applicable if AutoFontSize is False.

SectionTitleFontSize:   The font size of the section title.

This setting specifies the font size of the section title.

This setting is only applicable if AutoFontSize is False.

ShowTimestamp:   Whether the timestamp is displayed on the signature widget.

This setting specifies whether the timestamp is displayed on the signature widget. The default value is True.

SigFieldName:   The name of the signature field to sign.

This setting optionally specifies the name of the signature field to sign. This is only applicable when SignExistingFields is set to True.

SignerInfo:   Information to be displayed about the signer.

This setting optionally specifies information about the signer that is displayed on the signature widget. This setting is only applicable if AutoText is False.

StretchX:   Specifies the horizontal stretch of the signature widget background picture.

This setting specifies the horizontal stretch of the signature widget background picture. This is only applicable if AutoStretchBackground is False.

StretchY:   Specifies the vertical stretch of the signature widget background picture.

This setting specifies the vertical stretch of the signature widget background picture. This is only applicable if AutoStretchBackground is False.

TimestampFontSize:   The font size of the timestamp.

This setting specifies the font size of the timestamp.

This setting is only applicable if AutoFontSize is False.

TitleFontSize:   The font size of the title.

This setting specifies the font size of the title.

This setting is only applicable if AutoFontSize is False.

ToggleNoView:   Specifies whether the signature is visible on hover.

This setting specifies whether the signature widget is visible while hovering over it with a mouse pointer. If set to true the signature widget will only be displayed when hovering over it. The default value is False.

UseHexEncoding:   Whether to hex encode strings used in the signature widget.

This setting specifies whether strings used in the signature widget are hex encoded. If True the strings will be written in hex encoding. This setting may be useful if the data to be included in the signature widget text contains non-ASCII characters.

The default value is False.

Width:   Sets the width of the signature widget.

This setting specifies the width of the signature widget. This is only applicable if AutoSize is False.

The default value is 70.