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.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
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