Click or drag to resize
Pdf Library for .NET

PdfCertificateStoreSignerSign Method

Signs the request with the certificate's private key.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.5
Syntax
public byte[] Sign(
	PdfExternalSigningRequest request
)

Parameters

request  PdfExternalSigningRequest
What has to be signed.

Return Value

Byte
The raw signature value.

Implements

IPdfExternalSignerSign(PdfExternalSigningRequest)
Exceptions
ExceptionCondition
PdfDocumentExceptionThe key is neither RSA nor ECDSA, or the key provider refused to sign (for a smart card or token: the PIN was cancelled or wrong).
See Also