Click or drag to resize
Pdftools logo

SessionCreateSignature Method

Create a signature configuration based on signing certificate


Namespace: PdfTools.Crypto.Providers.Pkcs11
Assembly: PdfTools (in PdfTools.dll) Version: 1.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
Syntax
C#
public SignatureConfiguration CreateSignature(
	Certificate certificate
)

Parameters

certificate  Certificate
The signing certificate from Certificates

Return Value

SignatureConfiguration
Exceptions
ExceptionCondition
ArgumentExceptionIf the certificate is not a valid signing certificate.
ArgumentExceptionIf the certificate has expired.
ArgumentNullExceptionif certificate is .
See Also