Click or drag to resize
Pdftools logo

ProviderCreatePreparedSignature Method

Create a configuration to prepare a signature for an external signature handler

This method is part of a very specialized use case requiring an external signature handler. The process using an external signature handler is:

Namespace: PdfTools.Crypto.Providers.BuiltIn
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public SignatureConfiguration CreatePreparedSignature(
	int size,
	string format,
	string name
)

Parameters

size  Int32
The expected size of the cryptographic signature that will be added later. This is the number of bytes that will be reserved in the prepared signature.
format  String
The format (SubFilter) of the cryptographic signature that is added later. For example, "adbe.pkcs7.detached" or "ETSI.CAdES.detached".
name  String
The name of the signer of the cryptographic signature that will be added later.

Return Value

SignatureConfiguration
Exceptions
ExceptionCondition
ArgumentNullExceptionif format is .
ArgumentNullExceptionif name is .
See Also