Click or drag to resize
Pdftools logo

SignatureConfiguration Class

The signature configuration

Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.SignSignatureConfiguration
        PdfTools.Crypto.Providers.Pkcs11SignatureConfiguration

Namespace: PdfTools.Crypto.Providers.Pkcs11
Assembly: PdfTools (in PdfTools.dll) Version: 1.6.0+e1db8f4bf6125495a2d29513486ea3e61205c81b
Syntax
C#
public class SignatureConfiguration : SignatureConfiguration

The SignatureConfiguration type exposes the following members.

Properties
 NameDescription
Public propertyAddTimestamp

Whether to add a trusted time-stamp to the signature

If , the TimestampUrl must be set.

Default:

Public propertyAppearance

The visual appearance of the signature

The visual appearance or to create a signature without a visual appearance.

Default:


(Inherited from SignatureConfiguration)
Public propertyContactInfo

The contact information of the signer

Information provided by the signer to enable a recipient to contact the signer to verify the signature. For example, a phone number.
(Inherited from SignatureConfiguration)
Public propertyFieldName

The name of the existing signature field

The FieldName of an existing, unsigned signature field to sign. Note that when an existing signature field is signed, the appearance's position is defined by the existing field. Therefore, make sure the Appearance fits into the BoundingBox.

If a new signature field is created using a unique field name.

Default:


(Inherited from SignatureConfiguration)
Public propertyHashAlgorithm

The message digest algorithm

The algorithm used to hash the document and from which the cryptographic signature is created.

Default: Sha256

Public propertyLocation

The location of signing

The CPU host name or physical location of the signing.
(Inherited from SignatureConfiguration)
Public propertyName

The name of the signing certificate


(Inherited from SignatureConfiguration)
Public propertyReason

The reason for signing


(Inherited from SignatureConfiguration)
Public propertySignatureFormat

The format (encoding) of the cryptographic signature

Default: EtsiCadesDetached
Public propertySignaturePaddingType

The padding type of the cryptographic signature

Default: RsaSsaPss for RSA and Default for ECDSA certificates
Public propertyValidationInformation

Whether to add validation information (LTV)

For signing certificates that do not offer validation (revocation) information (OCSP or CRL), this property is ignored.

If downloading validation information fails, an error NotFoundException or HttpException is generated. See AddValidationInformationFailed for a description of possible error causes and solutions.

Default: EmbedInDocument if the signing certificate offers validation information and None otherwise

Top
Methods
 NameDescription
Public methodAddCertificate

Add a certificate

Add a certificate to the signature configuration. Adding certificates of the trust chain is often required, if they are missing in the PKCS#11 device's store and validation information is added (see ValidationInformation). For example, if this object has been created using CreateSignatureFromKeyId(Byte, Stream).
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also