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.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
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