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.1.0.0
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 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
(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