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.6.0+e1db8f4bf6125495a2d29513486ea3e61205c81b
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